summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-01-11 11:52:07 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-01-11 11:52:07 +0100
commit508b6a9fc79326bcf6d060f1daf42f5b67bfaeec (patch)
treede95217962ceffcb249d65deda0f825a87e2144d /core/js
parent364b1cd3915ab8d33f1a63f598be3acb4bfcf86a (diff)
downloadnextcloud-server-508b6a9fc79326bcf6d060f1daf42f5b67bfaeec.tar.gz
nextcloud-server-508b6a9fc79326bcf6d060f1daf42f5b67bfaeec.zip
displaying notification now centered
The notification div has been moved to the user templates. Correct display of the notification will only work with the use of OC.Notification.show() as on fadeIn() the css needs to be changed as this style required display: inline.
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 10758a90722..e724be9c2d5 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -311,13 +311,13 @@ OC.Notification={
var notification = $('#notification');
notification.hide();
notification.html(html);
- notification.fadeIn();
+ notification.fadeIn().css("display","inline");
},
show: function(text) {
var notification = $('#notification');
notification.hide();
notification.text(text);
- notification.fadeIn();
+ notification.fadeIn().css("display","inline");
}
};