have locals torage woring

This commit is contained in:
Peter Cottle 2013-01-07 00:12:05 -08:00
parent 0735eb3d64
commit 465b25368e
7 changed files with 113 additions and 39 deletions

View file

@ -119,8 +119,10 @@ var Sandbox = Backbone.View.extend({
// handle the case where that level is not found...
if (!levelJSON) {
command.addWarning(
'A level for that id "' + desiredID + '" was not found!!'
'A level for that id "' + desiredID + '" was not found!! Opening up level selection view...'
);
Main.getEventBaton().trigger('commandSubmitted', 'levels');
command.set('status', 'error');
deferred.resolve();
return;