Changeset 426 for Dev/trunk/client/qed/ui/MenuLink.js
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk
- Property svn:ignore
-
old new 1 1 data 2 2 nbproject 3 node_modules
-
- Property svn:ignore
-
Dev/trunk/client
- Property svn:externals
-
old new 1 dojo http://svn.dojotoolkit.org/src/tags/release-1.8. 0/dojo2 dijit http://svn.dojotoolkit.org/src/tags/release-1.8. 0/dijit3 dojox http://svn.dojotoolkit.org/src/tags/release-1.8. 0/dojox4 util http://svn.dojotoolkit.org/src/tags/release-1.8. 0/util1 dojo http://svn.dojotoolkit.org/src/tags/release-1.8.3/dojo 2 dijit http://svn.dojotoolkit.org/src/tags/release-1.8.3/dijit 3 dojox http://svn.dojotoolkit.org/src/tags/release-1.8.3/dojox 4 util http://svn.dojotoolkit.org/src/tags/release-1.8.3/util
-
- Property svn:externals
-
Dev/trunk/client/qed/ui/MenuLink.js
r410 r426 1 define(['dojo/_base/declare','dijit/MenuItem','../app/Router' ],2 function(declare,MenuItem,Router){1 define(['dojo/_base/declare','dijit/MenuItem','../app/Router' 2 ], function(declare,MenuItem,Router) { 3 3 return declare([MenuItem],{ 4 4 options:{ 5 5 path: null 6 6 }, 7 onClick: function() {8 this.path && Router.go(this.path);7 onClick: function() { 8 if ( this.path ) { Router.go(this.path); } 9 9 } 10 10 });
Note: See TracChangeset
for help on using the changeset viewer.