MDL-60489 javascript: Add missing promise fails

This commit is contained in:
Andrew Nicols
2017-10-23 20:26:57 +08:00
parent 44317628a7
commit 4c250a5b79
2 changed files with 5 additions and 3 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+4 -2
View File
@@ -352,7 +352,8 @@ define(['jquery', 'core/templates', 'core/notification', 'core/key_codes',
M.util.js_complete(jsPendingId);
return;
});
})
.fail(Notification.exception);
}
};
@@ -704,7 +705,8 @@ define(['jquery', 'core/templates', 'core/notification', 'core/key_codes',
setFunction(content);
return;
});
})
.fail(Notification.exception);
return p;
};