static/js/forms.js
changeset 21 3510b9092bc4
parent 18 5d06a3658699
child 36 d7a159024912
--- a/static/js/forms.js	Thu Dec 23 22:56:43 2010 +0200
+++ b/static/js/forms.js	Fri Dec 24 00:05:38 2010 +0200
@@ -3,15 +3,6 @@
  */
 
 (function($) {
-    /*
-     * Form field is empty - i.e. null value
-     *
-     * Pure whitespace also counts
-     */
-    $.fn.empty = function () {
-        return !this.val() || $.trim(this.val()) == "";
-    }
-
     /**
      * Query or set form field disabled state
      */