fix undefined symbol problem (regression on recent commits)

This commit is contained in:
SHIMODA Hiroshi 2011-04-11 16:23:17 +09:00
parent 10dd9334d5
commit a722935c00

View File

@ -72,7 +72,7 @@ if (typeof namespace.Deferred == 'undefined')
var confirmWithTab;
(function() {
const currentRevision = 5;
const currentRevision = 6;
var loadedRevision = 'confirmWithTab' in namespace ?
namespace.confirmWithTab.revision :
@ -95,6 +95,7 @@ var confirmWithTab;
}
var buttonClicked = false;
var checkbox;
namespace.Deferred.next(function() {
aOptions.cancelEvents = (aOptions.cancelEvents || [])
.concat(['TabClose'])
@ -163,7 +164,6 @@ var confirmWithTab;
})
);
var checkbox;
if (aOptions.checkbox) {
checkbox = notification.ownerDocument.createElement('checkbox');
checkbox.setAttribute('label', aOptions.checkbox.label);