summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/js
diff options
context:
space:
mode:
authornoveens <noveen.sachdeva@research.iiit.ac.in>2017-02-15 01:56:00 +0530
committerMorris Jobke <hey@morrisjobke.de>2017-03-23 13:12:29 -0600
commit40228c0c2b17c800fa5e227b4d2e8d074da82075 (patch)
tree74f7e43380384b88bc29be08135c0e1252600597 /apps/updatenotification/js
parent39ac804899197069b40384afdc40966e22658eca (diff)
downloadnextcloud-server-40228c0c2b17c800fa5e227b4d2e8d074da82075.tar.gz
nextcloud-server-40228c0c2b17c800fa5e227b4d2e8d074da82075.zip
added quit option in commentstabview.js
added quit option in notif in app.js added quit option in notif in file-upload.js added quit option in notif in fileinfomodel.js added quit option in notif in filelist.js added quit option in notif in filelist.js added quit option in notif in tagsplugin.js added quit option in notif in statusmanager.js added quit option in notif in external.js added quit option in notif in versionstabview.js added quit option in notif in notification.js changes according to the latest review. timeout removed since there is a button to close it translation capability added typo fixed test files updated small errors fixed Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/updatenotification/js')
-rw-r--r--apps/updatenotification/js/notification.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/updatenotification/js/notification.js b/apps/updatenotification/js/notification.js
index 26215b50df0..a2e78cecb09 100644
--- a/apps/updatenotification/js/notification.js
+++ b/apps/updatenotification/js/notification.js
@@ -17,11 +17,10 @@ $(document).ready(function(){
var text = t('core', '{version} is available. Get more information on how to update.', {version: oc_updateState.updateVersion}),
element = $('<a>').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text);
- OC.Notification.showTemporary(
- element,
+ OC.Notification.show(element,
{
- isHTML: true
+ isHTML: true,
+ type: 'error'
}
);
});
-