Fossil SCM
Doc updates and corrections.
Commit
e7659e7265961506d630a35e7c8a426dd569a508d3166ca0728fb290adc55249
Parent
33ffe5762bef215…
1 file changed
+6
-6
+6
-6
| --- src/fossil.page.fileedit.js | ||
| +++ src/fossil.page.fileedit.js | ||
| @@ -111,11 +111,11 @@ | ||
| 111 | 111 | E('#fossil-status-bar'), P.tabs.e.tabs |
| 112 | 112 | ); |
| 113 | 113 | }, false); |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | - updateVersion() updates filename and version in relevant UI | |
| 116 | + updateVersion() updates the filename and version in various UI | |
| 117 | 117 | elements... |
| 118 | 118 | |
| 119 | 119 | Returns this object. |
| 120 | 120 | */ |
| 121 | 121 | F.page.updateVersion = function(file,rev){ |
| @@ -141,12 +141,12 @@ | ||
| 141 | 141 | e.setAttribute('href',purl); |
| 142 | 142 | return this; |
| 143 | 143 | }; |
| 144 | 144 | |
| 145 | 145 | /** |
| 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. | |
| 148 | 148 | |
| 149 | 149 | Returns this object, noting that the load is async. |
| 150 | 150 | */ |
| 151 | 151 | F.page.loadFile = function(file,rev){ |
| 152 | 152 | delete this.finfo; |
| @@ -164,11 +164,11 @@ | ||
| 164 | 164 | return this; |
| 165 | 165 | }; |
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | 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. | |
| 169 | + page's form, and updates the UI with with the preview. | |
| 170 | 170 | |
| 171 | 171 | Returns this object, noting that the operation is async. |
| 172 | 172 | */ |
| 173 | 173 | F.page.preview = function(switchToTab){ |
| 174 | 174 | if(!this.finfo){ |
| @@ -205,12 +205,12 @@ | ||
| 205 | 205 | }); |
| 206 | 206 | return this; |
| 207 | 207 | }; |
| 208 | 208 | |
| 209 | 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. | |
| 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 | 212 | |
| 213 | 213 | Returns this object, noting that the operation is async. |
| 214 | 214 | */ |
| 215 | 215 | F.page.diff = function(sbs){ |
| 216 | 216 | if(!this.finfo){ |
| 217 | 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 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 |