Author: marvintriebel
Date: Tue Jun 17 11:16:09 2014
New Revision: 9592

URL: http://svn.gna.org/viewcvs/service-tech?rev=9592&view=rev
Log:
bugfix

Modified:
    trunk/_meta/live2/frontend/fancy/js/jsonEdit.js

Modified: trunk/_meta/live2/frontend/fancy/js/jsonEdit.js
URL: 
http://svn.gna.org/viewcvs/service-tech/trunk/_meta/live2/frontend/fancy/js/jsonEdit.js?rev=9592&r1=9591&r2=9592&view=diff
==============================================================================
--- trunk/_meta/live2/frontend/fancy/js/jsonEdit.js     (original)
+++ trunk/_meta/live2/frontend/fancy/js/jsonEdit.js     Tue Jun 17 11:16:09 2014
@@ -44,9 +44,10 @@
  "                   data-toggle=\"dropdown\">" +
  "                 <i class=\"icon-folder-open\"></i> Files..." +
  "               </p>" +
- "      </form>";
-
-$('#json-output-container').prepend($(typeaheadHtml));
+ "      </form>",
+ htmlForm = $(typeaheadHtml);
+
+$('#json-output-container').prepend(htmlForm);
 
 /** creates the typeahead in the input given by the jquery obj
  * @method createTypeahead
@@ -97,7 +98,7 @@
         }
     });
     resetTypeahead();
-    jqObj.closest("form").submit(
+    htmlForm.submit(
             function(){
                 jqObj.val(addParam(jqObj.val(), 
jqObj.parent().parent().find("textarea")));
                 return false;


-- 
You received this e-mail, because you subscribed the mailing list 
"service-tech-commits" which will forward you any e-mail addressed to 
[email protected]. If you want to unsubscribe or make any changes to 
your subscription, please go to
https://mail.gna.org/listinfo/service-tech-commits.

Reply via email to