You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2012/11/19 02:07:56 UTC
svn commit: r1411037 -
/incubator/wookie/trunk/widgets/templates/scanning/scripts/scanning_controller.js
Author: rgardler
Date: Mon Nov 19 01:07:55 2012
New Revision: 1411037
URL: http://svn.apache.org/viewvc?rev=1411037&view=rev
Log:
setup default scan elements so that a widget need not explicitly create them, it can still override the default though by resetting the variable
Modified:
incubator/wookie/trunk/widgets/templates/scanning/scripts/scanning_controller.js
Modified: incubator/wookie/trunk/widgets/templates/scanning/scripts/scanning_controller.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/scanning/scripts/scanning_controller.js?rev=1411037&r1=1411036&r2=1411037&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/scanning/scripts/scanning_controller.js (original)
+++ incubator/wookie/trunk/widgets/templates/scanning/scripts/scanning_controller.js Mon Nov 19 01:07:55 2012
@@ -30,6 +30,7 @@ var ${widget.shortname}_scanning_control
currentElementIdx: 0, // The index of the currently scanning element
init:function() {
+ ${widget.shortname}_scanning_controller.scanElements = $('[data-scanOrder]');
${widget.shortname}_scanning_controller.startScanning();
},