renaming the notification window to 'alert_window'

v1.18.x
Julian Lam 12 years ago
parent 194793d14d
commit 64f320743a

@ -58,7 +58,7 @@ body {
vertical-align: 10%; vertical-align: 10%;
} }
#notification_window { #alert_window {
position: fixed; position: fixed;
right: 20px; right: 20px;
top: 60px; top: 60px;

@ -66,7 +66,7 @@ var socket,
// title = bolded title text // title = bolded title text
// message = alert message content // message = alert message content
// timeout default = permanent // timeout default = permanent
// location : notification_window (default) or content // location : alert_window (default) or content
app.alert = function(params) { app.alert = function(params) {
var div = document.createElement('div'), var div = document.createElement('div'),
button = document.createElement('button'), button = document.createElement('button'),
@ -95,7 +95,7 @@ var socket,
div.parentNode.removeChild(div); div.parentNode.removeChild(div);
} }
if (params.location == null) params.location = 'notification_window'; if (params.location == null) params.location = 'alert_window';
jQuery('#'+params.location).prepend(jQuery(div).fadeIn('100')); jQuery('#'+params.location).prepend(jQuery(div).fadeIn('100'));

@ -111,6 +111,6 @@
</div> </div>
</div> </div>
<div id="notification_window"></div> <div id="alert_window"></div>
<div class="container" id="content"> <div class="container" id="content">
Loading…
Cancel
Save