fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added simple interface to accept merge requests.
[redakcja.git]
/
project
/
static
/
js
/
views
/
flash.js
diff --git
a/project/static/js/views/flash.js
b/project/static/js/views/flash.js
index
3f4f475
..
b2240e4
100644
(file)
--- a/
project/static/js/views/flash.js
+++ b/
project/static/js/views/flash.js
@@
-27,9
+27,14
@@
var FlashView = View.extend({
modelFirstFlashMessageChanged: function(property, value) {
this.element.fadeOut('slow', function() {
modelFirstFlashMessageChanged: function(property, value) {
this.element.fadeOut('slow', function() {
+ this.element.css({'z-index': 0});
this.shownMessage = value;
this.render();
this.shownMessage = value;
this.render();
- this.element.fadeIn('slow');
+
+ if(this.shownMessage) {
+ this.element.css({'z-index': 1000});
+ this.element.fadeIn('slow');
+ }
}.bind(this));
}
});
}.bind(this));
}
});