From 676b124697194d5c4833a103a05ef401cd6b5667 Mon Sep 17 00:00:00 2001 From: Kaleb Murphy Date: Fri, 1 May 2009 19:11:48 +0000 Subject: [PATCH] Removed superfluous function wrappers on the yui event subscriptions. --- www/extras/wobject/Survey/editsurvey/object.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/extras/wobject/Survey/editsurvey/object.js b/www/extras/wobject/Survey/editsurvey/object.js index 42e1b0fa9..7c963ecc9 100644 --- a/www/extras/wobject/Survey/editsurvey/object.js +++ b/www/extras/wobject/Survey/editsurvey/object.js @@ -149,8 +149,8 @@ Survey.ObjectTemplate = (function(){ dialog.callback = Survey.Comm.callback; - dialog.hideEvent.subscribe(function(){Survey.ObjectTemplate.hideEditor();}); - dialog.dragEvent.subscribe(function(){Survey.ObjectTemplate.showEditor();}); + dialog.hideEvent.subscribe(Survey.ObjectTemplate.hideEditor); + dialog.dragEvent.subscribe(Survey.ObjectTemplate.showEditor); dialog.render();