Fossil SCM

Doc updates and corrections.

stephan 2020-05-05 17:23 fileedit-ajaxify
Commit e7659e7265961506d630a35e7c8a426dd569a508d3166ca0728fb290adc55249
1 file changed +6 -6
--- src/fossil.page.fileedit.js
+++ src/fossil.page.fileedit.js
@@ -111,11 +111,11 @@
111111
E('#fossil-status-bar'), P.tabs.e.tabs
112112
);
113113
}, false);
114114
115115
/**
116
- updateVersion() updates filename and version in relevant UI
116
+ updateVersion() updates the filename and version in various UI
117117
elements...
118118
119119
Returns this object.
120120
*/
121121
F.page.updateVersion = function(file,rev){
@@ -141,12 +141,12 @@
141141
e.setAttribute('href',purl);
142142
return this;
143143
};
144144
145145
/**
146
- loadFile() loads (file,version) and updates the relevant UI elements
147
- to reflect the loaded state.
146
+ loadFile() loads (file,checkinVersion) and updates the relevant
147
+ UI elements to reflect the loaded state.
148148
149149
Returns this object, noting that the load is async.
150150
*/
151151
F.page.loadFile = function(file,rev){
152152
delete this.finfo;
@@ -164,11 +164,11 @@
164164
return this;
165165
};
166166
167167
/**
168168
Fetches the page preview based on the contents and settings of this
169
- page's form, and updates this.e.ajaxContentTarget with the preview.
169
+ page's form, and updates the UI with with the preview.
170170
171171
Returns this object, noting that the operation is async.
172172
*/
173173
F.page.preview = function(switchToTab){
174174
if(!this.finfo){
@@ -205,12 +205,12 @@
205205
});
206206
return this;
207207
};
208208
209209
/**
210
- Fetches the page preview based on the contents and settings of this
211
- page's form, and updates this.e.ajaxContentTarget with the preview.
210
+ Fetches the content diff based on the contents and settings of this
211
+ page's form, and updates the UI with the diff view.
212212
213213
Returns this object, noting that the operation is async.
214214
*/
215215
F.page.diff = function(sbs){
216216
if(!this.finfo){
217217
--- src/fossil.page.fileedit.js
+++ src/fossil.page.fileedit.js
@@ -111,11 +111,11 @@
111 E('#fossil-status-bar'), P.tabs.e.tabs
112 );
113 }, false);
114
115 /**
116 updateVersion() updates filename and version in relevant UI
117 elements...
118
119 Returns this object.
120 */
121 F.page.updateVersion = function(file,rev){
@@ -141,12 +141,12 @@
141 e.setAttribute('href',purl);
142 return this;
143 };
144
145 /**
146 loadFile() loads (file,version) and updates the relevant UI elements
147 to reflect the loaded state.
148
149 Returns this object, noting that the load is async.
150 */
151 F.page.loadFile = function(file,rev){
152 delete this.finfo;
@@ -164,11 +164,11 @@
164 return this;
165 };
166
167 /**
168 Fetches the page preview based on the contents and settings of this
169 page's form, and updates this.e.ajaxContentTarget with the preview.
170
171 Returns this object, noting that the operation is async.
172 */
173 F.page.preview = function(switchToTab){
174 if(!this.finfo){
@@ -205,12 +205,12 @@
205 });
206 return this;
207 };
208
209 /**
210 Fetches the page preview based on the contents and settings of this
211 page's form, and updates this.e.ajaxContentTarget with the preview.
212
213 Returns this object, noting that the operation is async.
214 */
215 F.page.diff = function(sbs){
216 if(!this.finfo){
217
--- src/fossil.page.fileedit.js
+++ src/fossil.page.fileedit.js
@@ -111,11 +111,11 @@
111 E('#fossil-status-bar'), P.tabs.e.tabs
112 );
113 }, false);
114
115 /**
116 updateVersion() updates the filename and version in various UI
117 elements...
118
119 Returns this object.
120 */
121 F.page.updateVersion = function(file,rev){
@@ -141,12 +141,12 @@
141 e.setAttribute('href',purl);
142 return this;
143 };
144
145 /**
146 loadFile() loads (file,checkinVersion) and updates the relevant
147 UI elements to reflect the loaded state.
148
149 Returns this object, noting that the load is async.
150 */
151 F.page.loadFile = function(file,rev){
152 delete this.finfo;
@@ -164,11 +164,11 @@
164 return this;
165 };
166
167 /**
168 Fetches the page preview based on the contents and settings of this
169 page's form, and updates the UI with with the preview.
170
171 Returns this object, noting that the operation is async.
172 */
173 F.page.preview = function(switchToTab){
174 if(!this.finfo){
@@ -205,12 +205,12 @@
205 });
206 return this;
207 };
208
209 /**
210 Fetches the content diff based on the contents and settings of this
211 page's form, and updates the UI with the diff view.
212
213 Returns this object, noting that the operation is async.
214 */
215 F.page.diff = function(sbs){
216 if(!this.finfo){
217

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button