cvs: doc-editor /js main.js

From: Date: Wed, 22 Apr 2009 21:32:39 +0000
Subject: cvs: doc-editor /js main.js
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3847@lists.php.net to get a copy of this message
yannick Wed Apr 22 21:32:39 2009 UTC Modified files: /doc-editor/js main.js Log: - Commit change into the store after setting a value. This prevent the red mark into the changed field http://cvs.php.net/viewvc.cgi/doc-editor/js/main.js?r1=1.50&r2=1.51&diff_format=u Index: doc-editor/js/main.js diff -u doc-editor/js/main.js:1.50 doc-editor/js/main.js:1.51 --- doc-editor/js/main.js:1.50 Wed Apr 22 20:54:43 2009 +++ doc-editor/js/main.js Wed Apr 22 21:32:39 2009 @@ -42,7 +42,7 @@ userLang: '', appName: 'PhpDocumentation Online Editor', appVer: '0.2', - uiRevision: '$Revision: 1.50 $', + uiRevision: '$Revision: 1.51 $', userConf: { 'conf_needupdate_diff': 'using-exec', @@ -1356,6 +1356,7 @@ // Update our store this.storeFilesError.getAt(rowIndex).set('needcommit', true); this.storeFilesError.getAt(rowIndex).set('maintainer', o.maintainer); + this.storeFilesError.getAt(rowIndex).commit(); } if (Panel === 'FNU') { @@ -1363,6 +1364,7 @@ this.storeFilesNeedUpdate.getAt(rowIndex).set('revision', '1.' + o.new_revision); this.storeFilesNeedUpdate.getAt(rowIndex).set('needcommit', true); this.storeFilesNeedUpdate.getAt(rowIndex).set('maintainer', o.maintainer); + this.storeFilesNeedUpdate.getAt(rowIndex).commit(); } if (Panel === 'FNR') { @@ -1370,6 +1372,7 @@ this.storeFilesNeedReviewed.getAt(rowIndex).set('needcommit', true); this.storeFilesNeedReviewed.getAt(rowIndex).set('maintainer', o.maintainer); this.storeFilesNeedReviewed.getAt(rowIndex).set('reviewed', o.reviewed); + this.storeFilesNeedReviewed.getAt(rowIndex).commit(); } // Add this files into storePendingCommit @@ -1462,6 +1465,7 @@ // Update our store this.storeFilesError.getAt(rowIndex).set('needcommit', true); this.storeFilesError.getAt(rowIndex).set('maintainer', o.maintainer); + this.storeFilesError.getAt(rowIndex).commit(); } if (Panel === 'FNU') { @@ -1469,6 +1473,7 @@ this.storeFilesNeedUpdate.getAt(rowIndex).set('revision', '1.' + o.new_revision); this.storeFilesNeedUpdate.getAt(rowIndex).set('needcommit', true); this.storeFilesNeedUpdate.getAt(rowIndex).set('maintainer', o.maintainer); + this.storeFilesNeedUpdate.getAt(rowIndex).commit(); } if (Panel === 'FNR') { @@ -1476,6 +1481,7 @@ this.storeFilesNeedReviewed.getAt(rowIndex).set('needcommit', true); this.storeFilesNeedReviewed.getAt(rowIndex).set('maintainer', o.maintainer); this.storeFilesNeedReviewed.getAt(rowIndex).set('reviewed', o.reviewed); + this.storeFilesNeedReviewed.getAt(rowIndex).commit(); } // Add this files into storePendingCommit

« previous php.doc.cvs (#3847) next »