From d0d59d54b1bead4ac1e53cc2dc33b05e8d780795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Tue, 10 Jun 2014 19:40:06 +0200 Subject: [PATCH] i18n etwas umstrukturiert --- app/View/User/settings_pages.ctp | 2 +- app/webroot/js/dreamjob.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/View/User/settings_pages.ctp b/app/View/User/settings_pages.ctp index 60bf24b..2396885 100644 --- a/app/View/User/settings_pages.ctp +++ b/app/View/User/settings_pages.ctp @@ -107,7 +107,7 @@ if($profil['AppUser']['take_systemwide']){
Html->link(' '.__('dreamjob.page.del'),array('controller'=>'user','action'=>'settings_pageInh','?'=>array('del'=> $pag['id'])),array('escape'=>false,'class'=>'btn btn-default')); + echo $this->Html->link(' '.__('dreamjob.page.del'),array('controller'=>'user','action'=>'settings_pageInh','?'=>array('del'=> $page ["DreamjobPageInh"]['id'])),array('escape'=>false,'class'=>'btn btn-default')); } ?> Form->button(' '.__('dreamjob.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?> diff --git a/app/webroot/js/dreamjob.js b/app/webroot/js/dreamjob.js index a01fad9..1a521ea 100755 --- a/app/webroot/js/dreamjob.js +++ b/app/webroot/js/dreamjob.js @@ -92,7 +92,7 @@ var global_load = null; $(this).submit(function() { stopLoad(evt); frame = $('#fileUpload').load(function() { - setContent($('#fileUpload').contents().find('body').html()); + setContent($('#fileUpload').contents().find('html').html()); $('#fileUpload').unbind('load'); setTimeout(function() { $('#fileUpload').html('');