closeflash patch, thanks Paolo, issue 1191
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.2.1 (2012-12-03 14:41:44) stable
|
||||
Version 2.2.1 (2012-12-03 16:05:41) stable
|
||||
|
||||
@@ -116,8 +116,8 @@ div.flash {
|
||||
}
|
||||
|
||||
div.flash #closeflash{color:inherit; float:right;}
|
||||
.ie-lte7 div.flash
|
||||
#closeflash{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
|
||||
.ie-lte7 div.flash #closeflash
|
||||
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
|
||||
|
||||
div.flash:hover { opacity:0.25; }
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -116,8 +116,8 @@ div.flash {
|
||||
}
|
||||
|
||||
div.flash #closeflash{color:inherit; float:right;}
|
||||
.ie-lte7 div.flash
|
||||
#closeflash{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
|
||||
.ie-lte7 div.flash #closeflash
|
||||
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
|
||||
|
||||
div.flash:hover { opacity:0.25; }
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -116,8 +116,8 @@ div.flash {
|
||||
}
|
||||
|
||||
div.flash #closeflash{color:inherit; float:right;}
|
||||
.ie-lte7 div.flash
|
||||
#closeflash{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
|
||||
.ie-lte7 div.flash #closeflash
|
||||
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
|
||||
|
||||
div.flash:hover { opacity:0.25; }
|
||||
|
||||
|
||||
@@ -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