cvs: doc-editor /js main.js

From: Date: Thu, 16 Apr 2009 20:34:57 +0000
Subject: cvs: doc-editor /js main.js
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3764@lists.php.net to get a copy of this message
yannick Thu Apr 16 20:34:57 2009 UTC Modified files: /doc-editor/js main.js Log: #Expand NeedUptoDate module on dblclick on row in the summary grid http://cvs.php.net/viewvc.cgi/doc-editor/js/main.js?r1=1.36&r2=1.37&diff_format=u Index: doc-editor/js/main.js diff -u doc-editor/js/main.js:1.36 doc-editor/js/main.js:1.37 --- doc-editor/js/main.js:1.36 Thu Apr 16 20:24:00 2009 +++ doc-editor/js/main.js Thu Apr 16 20:34:57 2009 @@ -6001,8 +6001,16 @@ scope: this, render: function(grid){ grid.store.load.defer(20, grid.store); + }, + rowdblclick: function ( Grid, rowIndex, e ) { + var id = this.storeSummary.getAt(rowIndex).data.id; + + //Up to date files, Old files, Criticals files + if( id === 1 || id === 2 || id === 3) { + Ext.getCmp('acc-need-update').expand(); + } + } - } });

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