Author: jablko
Date: Thu Oct 21 21:42:16 2010
New Revision: 8365

Log:
Indentation

Modified:
   trunk/js/dialog.js

Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js  Thu Oct 21 21:39:53 2010        (r8364)
+++ trunk/js/dialog.js  Thu Oct 21 21:42:16 2010        (r8365)
@@ -150,28 +150,28 @@
 
         // Append hidden fields to form on submit
         this.onSubmit = function (event)
-        {
-          event.preventDefault();
+          {
+            event.preventDefault();
 
-          thisDialog.appendHiddenFields();
+            thisDialog.appendHiddenFields();
 
-          // Apply selector to <iframe/> contents, update value of selected 
element
-          // with value of the autocomplete <input/>, and submit selected 
element's
-          // form
-          var iframe;
-          while (iframe = thisDialog.iframes.shift())
-          {
-            thisDialog.count++;
+            // Apply selector to <iframe/> contents, update value of selected 
element
+            // with value of the autocomplete <input/>, and submit selected 
element's
+            // form
+            var iframe;
+            while (iframe = thisDialog.iframes.shift())
+            {
+              thisDialog.count++;
 
-            $($(iframe.selector, 
iframe.iframe[0].contentWindow.document).val(iframe.value)[0].form).submit();
-          }
+              $($(iframe.selector, 
iframe.iframe[0].contentWindow.document).val(iframe.value)[0].form).submit();
+            }
 
-          // If no iframes, just submit
-          if (0 === thisDialog.count)
-          {
-            thisDialog.done();
+            // If no iframes, just submit
+            if (0 === thisDialog.count)
+            {
+              thisDialog.done();
+            }
           }
-        }
 
         // Bind onSubmit method
         this.$form.submit(this.onSubmit);

-- 
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