closeflash patch, thanks Paolo, issue 1191
This commit is contained in:
1 parent
ca18d164e3
commit
411ef4549e
7 files changed
+25
-13
No files matched your search
@@ -102,8 +102,12 @@ function web2py_ajax_page(method, action, data, target) {
|
||||
web2py_ajax_init('#'+target);
|
||||
if(command)
|
||||
eval(decodeURIComponent(command));
|
||||
if(flash)
|
||||
jQuery('.flash').html(decodeURIComponent(flash)).slideDown();
|
||||
if(flash) {
|
||||
jQuery('.flash')
|
||||
.html(decodeURIComponent(flash))
|
||||
.append('<span id="closeflash">×</span>')
|
||||
.slideDown();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user