Display an error when an invalid hash in used
This commit is contained in:
@@ -134,6 +134,11 @@ define([
|
||||
});
|
||||
}));
|
||||
}).nThen(function (waitFor) {
|
||||
if (!Utils.Hash.isValidHref(window.location.href)) {
|
||||
waitFor.abort();
|
||||
return void sframeChan.event('EV_LOADING_ERROR', 'INVALID_HASH');
|
||||
}
|
||||
|
||||
$('#sbox-iframe').focus();
|
||||
|
||||
sframeChan.on('EV_CACHE_PUT', function (x) {
|
||||
|
||||
Reference in New Issue
Block a user