summaryrefslogtreecommitdiff
path: root/share/www/script/jquery.editinline.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/jquery.editinline.js')
-rw-r--r--share/www/script/jquery.editinline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/jquery.editinline.js b/share/www/script/jquery.editinline.js
index e3a33155..e677b982 100644
--- a/share/www/script/jquery.editinline.js
+++ b/share/www/script/jquery.editinline.js
@@ -50,7 +50,7 @@
return true;
}
if ((!options.allowEmpty && !newText.length) ||
- !options.validate.apply(elem, [newText])) {
+ !options.validate.apply(elem, [newText, origText])) {
input.addClass("invalid");
return false;
}