[Commits] r1777 - sandbox/redlining/ux/FeatureEditing/ux/widgets/form
commits at geoext.org
commits at geoext.org
Tue Jan 19 10:40:51 CET 2010
Author: fredj
Date: 2010-01-19 10:40:51 +0100 (Tue, 19 Jan 2010)
New Revision: 1777
Modified:
sandbox/redlining/ux/FeatureEditing/ux/widgets/form/FeaturePanel.js
Log:
simplify code
Modified: sandbox/redlining/ux/FeatureEditing/ux/widgets/form/FeaturePanel.js
===================================================================
--- sandbox/redlining/ux/FeatureEditing/ux/widgets/form/FeaturePanel.js 2010-01-19 08:27:43 UTC (rev 1776)
+++ sandbox/redlining/ux/FeatureEditing/ux/widgets/form/FeaturePanel.js 2010-01-19 09:40:51 UTC (rev 1777)
@@ -235,11 +235,7 @@
/** private: method[getActions]
*/
getActions: function() {
- var actions = [];
-
- actions.push(this.deleteAction);
-
- return actions;
+ return [this.deleteAction];
},
/** private: method[triggerAutoSave]
More information about the Commits
mailing list