--- a/org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/ActionControl.js Fri Feb 05 09:22:26 2010 -0800
+++ b/org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/ActionControl.js Fri Feb 05 11:54:28 2010 -0800
@@ -71,7 +71,7 @@
// the control defaults to enabled
this.enabled = true;
-}
+};
// Common event listeners hookup function called from subclasses.
ActionControl.prototype.bindActionControlListeners = function() {
@@ -93,19 +93,19 @@
event.preventDefault();
}
}, true);
-}
+};
// Returns the enabled state.
ActionControl.prototype.isEnabled = function() {
return this.enabled;
-}
+};
// Sets the enabled state.
ActionControl.prototype.setEnabled = function(enabled) {
uiLogger.debug("ActionControl.setEnabled(" + enabled + ")");
// switch the state
this.enabled = enabled;
-}
+};
// Sets the focused state for the control.
// Note: This may not always succeed.
@@ -118,7 +118,7 @@
this.linkElement.blur();
}
}
-}
+};
// Callback for clicks.
ActionControl.prototype.controlClicked = function(event) {
@@ -134,11 +134,11 @@
// notify event listeners
this.actionPerformed(event);
}
-}
+};
// Callback for action performed events.
ActionControl.prototype.actionPerformed = function(event) {
uiLogger.debug("ActionControl.actionPerformed()");
// notify event listeners
this.fireEvent(this.createEvent("ActionPerformed", event));
-}
+};