diff --git a/app/View/Home/agb.ctp b/app/View/Home/agb.ctp index c21386c..0175566 100644 --- a/app/View/Home/agb.ctp +++ b/app/View/Home/agb.ctp @@ -1,6 +1,8 @@ -
+
+

Allgemeine Geschäftsbedingungen

+ +
diff --git a/app/View/Service/show.ctp b/app/View/Service/show.ctp index 83c11dd..c857771 100644 --- a/app/View/Service/show.ctp +++ b/app/View/Service/show.ctp @@ -19,9 +19,9 @@ ',$obj['DreamjobService']['text']);?>

- 0){ ?> - diff --git a/app/webroot/js/dreamjob.js b/app/webroot/js/dreamjob.js index 6382633..1fab3d0 100755 --- a/app/webroot/js/dreamjob.js +++ b/app/webroot/js/dreamjob.js @@ -22,15 +22,10 @@ var global_load = null; $("#popup").modal({'remote': false, 'show': false}); $("#popup").on('show.bs.modal', function(e) { $.ajax({url: $(e.relatedTarget).attr("href"), success: function(data) { - if($("#container div.box.2modal").length > 0){ - $("#popup .modal-header").attr("style",$("#container div.box.2modal .modal-title", data).attr("style")); - $("#popup .modal-title").html($("#container div.box.2modal .modal-title", data).html()); - $("#popup .modal-body").html($("#container div.box.2modal .modal-body", data).html()); - $("#popup .modal-footer").html($("#container div.box.2modal .modal-footer", data).html()); - }else{ - $("#popup .modal-title").html($(e.relatedTarget).attr("title")); - $("#popup .modal-body").html($("#container div.box", data).html()); - } + $("#popup .modal-header").attr("style",$("#container div.box.2modal .modal-title", data).attr("style")); + $("#popup .modal-title").html($("#container div.box.2modal .modal-title", data).html()); + $("#popup .modal-body").html($("#container div.box.2modal .modal-body", data).html()); + $("#popup .modal-footer").html($("#container div.box.2modal .modal-footer", data).html()); }, error: function(data) { }}); });