diff --git a/webroot/js/pmgr.js b/webroot/js/pmgr.js
index d7e931a..5b4bde7 100644
--- a/webroot/js/pmgr.js
+++ b/webroot/js/pmgr.js
@@ -84,7 +84,7 @@ function htmlEncode(s)
function addDiv(id_name, div_name, into_div_name, flash, html, script) {
var id = $('#'+id_name).val();
- html = '
' +
+ html = '
' +
html.replace(/%{id}/g, id)
.replace(/%{remove(:([^}]*))?}/g,
'' +
@@ -103,8 +103,13 @@ function addDiv(id_name, div_name, into_div_name, flash, html, script) {
if (flash) {
$('#'+div_name+'-'+id)
- .animate({ backgroundColor: "yellow" }, 300)
- .animate({ backgroundColor: "white" }, 500);
+ .css({'background-color' : 'yellow'})
+ .slideDown()
+ //.animate({ backgroundColor: "yellow" }, 300)
+ .animate({ backgroundColor: "white" }, 500);
+ } else {
+ $('#'+div_name+'-'+id)
+ .show();
}
id = id - 0 + 1;