diff --git a/app/View/Extra/company.ctp b/app/View/Extra/company.ctp
index b4c9f0b..fb5049b 100644
--- a/app/View/Extra/company.ctp
+++ b/app/View/Extra/company.ctp
@@ -1,4 +1,8 @@
-
+
diff --git a/app/View/Extra/worker.ctp b/app/View/Extra/worker.ctp
index ef6238e..90bd5c5 100644
--- a/app/View/Extra/worker.ctp
+++ b/app/View/Extra/worker.ctp
@@ -1,4 +1,8 @@
-
+
diff --git a/app/webroot/js/dreamjob.js b/app/webroot/js/dreamjob.js
index 7f53e1f..eeac879 100755
--- a/app/webroot/js/dreamjob.js
+++ b/app/webroot/js/dreamjob.js
@@ -41,19 +41,6 @@ var global_load = null;
}
}
function event(where) {
- /* Hotfix Ticket: 215*/
- $(where + ' img').each(function() {
- $(this).attr('src', $(this).attr('src') + '?' + (new Date()).getTime());
- });
-
- $("#alert .alert").alert();
- $(where + ' textarea').wysihtml5();
- $(where + ' select').each(function() {
- $(this).select2({allowClear: true});
- });
- $(where + ' .dropdown-toggle').dropdown();
- $(where + " a").tooltip();
- ;
$(where + " a").not('[href*="mailto:"]').each(function(that) {
if ($(this).attr("rel") !== "external" && $(this).attr("ref") !== "eventOff" && !$(this).parents('ul').hasClass("wysihtml5-toolbar") && !$(this).hasClass(".select2-choice"))
$(this).click(function(e) {
@@ -124,7 +111,9 @@ var global_load = null;
if (!see && $(this).attr("data") != "set") {
$(this).attr("data", "set");
$("tr", that).removeClass("new");
+ console.log(newRow);
$(that).append("
" + newRow + "
");
+ event("form.tableForm tbody tr.new");
evet();
}
});
@@ -140,6 +129,19 @@ var global_load = null;
}
evet();
});
+
+
+ $(where + ' img').each(function() {
+ $(this).attr('src', $(this).attr('src') + '?' + (new Date()).getTime());
+ });
+
+ $("#alert .alert").alert();
+ $(where + ' textarea').wysihtml5();
+ $(where + ' select').each(function() {
+ $(this).select2({allowClear: true});
+ });
+ $(where + ' .dropdown-toggle').dropdown();
+ $(where + " a").tooltip();
}
function setContent(data, back, tab, backignore) {
title = data.split('')[1].split('')[0];