Author: jablko
Date: Mon Oct 18 18:37:22 2010
New Revision: 8257

Log:
Cosmetic change

Modified:
   trunk/js/dialog.js

Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js  Mon Oct 18 18:27:28 2010        (r8256)
+++ trunk/js/dialog.js  Mon Oct 18 18:37:22 2010        (r8257)
@@ -91,8 +91,7 @@
     + '</div>');
 
   // Bind onClick event to "Add" link
-  var addLink = $('<a href="#">Add new</a>');
-  addLink.click(function (event)
+  var $addLink = $('<a href="#">Add new</a>').click(function (event)
     {
       // Prevent default action, "go to top of page"
       event.preventDefault();
@@ -102,7 +101,7 @@
 
   // Replace dialog table with "Add" link and move into dialog wrapper
   $(this.table)
-    .replaceWith(addLink)
+    .replaceWith($addLink)
     .appendTo($yuiDialogWrapper.find('form'));
 
   // Tooltips

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to