This commit is contained in:
psychobunny
2015-06-08 16:58:53 -04:00
parent ef6c30ad99
commit f8b3282295
7 changed files with 114 additions and 94 deletions

View File

@@ -565,6 +565,14 @@ app.cacheBuster = null;
});
};
app.loadJQueryUI = function(callback) {
if (typeof $().autocomplete === 'function') {
return callback();
}
$.getScript(RELATIVE_PATH + '/vendor/jquery/js/jquery-ui-1.10.4.custom.js', callback);
};
app.showEmailConfirmWarning = function(err) {
if (!config.requireEmailConfirmation || !app.user.uid) {
return;