From 62364269c5952756315121fabbb7f956412dac45 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sun, 11 May 2014 10:55:00 +0200 Subject: [PATCH] Fix Typo, define $ as global --- core/js/oc-dialogs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 3e45e3789d2..f6c17122d7d 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -19,7 +19,7 @@ * */ -/* global OC, t, alert */ +/* global OC, t, alert, $ */ /** * this class to ease the usage of jquery dialogs @@ -69,7 +69,7 @@ var OCdialogs = { * (true or false would be passed to callback respectively) * @param modal make the dialog modal * @param name name of the input field - * @param password wether the input should be a password input + * @param password whether the input should be a password input */ prompt: function (text, title, callback, modal, name, password) { $.when(this._getMessageTemplate()).then(function ($tmpl) {