Variable 'selectionBox' implicitly declared.
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
974161ef8a
commit
c44db2e2a1
@ -1238,7 +1238,7 @@ AJAX.registerOnload('server_status_monitor.js', function () {
|
||||
if ($('#selection_box').length) {
|
||||
$('#selection_box').remove();
|
||||
}
|
||||
selectionBox = $('<div id="selection_box" style="z-index:1000;height:250px;position:absolute;background-color:#87CEEB;opacity:0.4;filter:alpha(opacity=40);pointer-events:none;">');
|
||||
var selectionBox = $('<div id="selection_box" style="z-index:1000;height:250px;position:absolute;background-color:#87CEEB;opacity:0.4;filter:alpha(opacity=40);pointer-events:none;">');
|
||||
$(document.body).append(selectionBox);
|
||||
selectionStartX = ev.pageX;
|
||||
selectionStartY = ev.pageY;
|
||||
@ -1289,7 +1289,7 @@ AJAX.registerOnload('server_status_monitor.js', function () {
|
||||
|
||||
$(document.body).mouseup(function () {
|
||||
if ($('#selection_box').length) {
|
||||
selectionBox.remove();
|
||||
$('#selection_box').remove();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user