From: <ast...@hy...> - 2008-08-05 23:56:46
|
Author: astroganov Date: 2008-08-05 16:56:43 -0700 (Tue, 05 Aug 2008) New Revision: 10536 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=10536 Modified: trunk/web/js/lib/lib.js Log: dojo buttons event is onClick, not onclick Modified: trunk/web/js/lib/lib.js =================================================================== --- trunk/web/js/lib/lib.js 2008-08-05 23:50:30 UTC (rev 10535) +++ trunk/web/js/lib/lib.js 2008-08-05 23:56:43 UTC (rev 10536) @@ -2094,7 +2094,7 @@ type: 'submit', // onClick: function() { return that.dialog.isValid(); } }, "clone_btn"); - dojo11.connect(that.buttons.create_btn, 'onclick', that.clone_action); + dojo11.connect(that.buttons.create_btn, 'onClick', that.clone_action); that.buttons.cancel_btn = new dijit11.form.Button({ label: "Cancel", @@ -2102,7 +2102,7 @@ id: "create_cancel_btn", type: 'cancel', }, "clone_cancel_btn"); - dojo11.connect(that.buttons.cancel_btn, 'onclick', that.dialog.onCancel); + dojo11.connect(that.buttons.cancel_btn, 'onClick', that.dialog.onCancel); dojo11.connect(dojo11.byId('add_clone_btn'), 'onclick', function(e) { moveOption(that.available_clone_targets,that.selected_clone_targets);}); dojo11.connect(dojo11.byId('remove_clone_btn'), 'onclick', function(e) { moveOption(that.selected_clone_targets,that.available_clone_targets);}); |