Save two lines

This commit is contained in:
Thomas Tanghus 2013-09-11 21:15:32 +02:00
parent 1f8f0e61d8
commit 08225a60c8
1 changed files with 1 additions and 3 deletions

View File

@ -142,9 +142,7 @@ var OCdialogs = {
.fail(function(status, error) {
// If the method is called while navigating away
// from the page, it is probably not needed ;)
if(status === 0) {
return;
} else {
if(status !== 0) {
alert(t('core', 'Error loading file picker template: {error}', {error: error}));
}
});