Fix Typo, define $ as global

This commit is contained in:
Lukas Reschke 2014-05-11 10:55:00 +02:00
parent 163a7a47f9
commit 62364269c5

View file

@ -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) {