From bd82621bc1605f1174d6278a07140cad92ebb226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Tue, 10 Jun 2014 19:25:56 +0200 Subject: [PATCH] i18n etwas umstrukturiert --- app/webroot/js/dreamjob.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/webroot/js/dreamjob.js b/app/webroot/js/dreamjob.js index 5686705..968b9f0 100755 --- a/app/webroot/js/dreamjob.js +++ b/app/webroot/js/dreamjob.js @@ -90,12 +90,12 @@ var global_load = null; $(this).attr('target', 'fileUpload'); $(":input[ name *= '_wysihtml5_mod' ]", this).remove(); $(this).submit(function() { - stopLoad(evt); + stopLoad(evt); frame = $('#fileUpload').load(function() { - setContent(frame.contents().find('body').html()); - frame.unbind('load'); + setContent($('#fileUpload').contents().find('body').html()); + $('#fileUpload').unbind('load'); setTimeout(function() { - frame.html(''); + $('#fileUpload').html(''); }, 1); }); });