removed mods directory from the ATutor codebase
[atutor.git] / mods / ldap / jscripts / jqgrid / js / grid.postext.js
diff --git a/mods/ldap/jscripts/jqgrid/js/grid.postext.js b/mods/ldap/jscripts/jqgrid/js/grid.postext.js
deleted file mode 100644 (file)
index ce53e88..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-;(function($){\r
-/**\r
- * jqGrid extension\r
- * Paul Tiseo ptiseo@wasteconsultants.com\r
- * \r
- * Dual licensed under the MIT and GPL licenses:\r
- * http://www.opensource.org/licenses/mit-license.php\r
- * http://www.gnu.org/licenses/gpl.html\r
-**/ \r
-$.fn.extend({\r
-       getPostData : function(){\r
-               var $t = this[0];\r
-               if(!$t.grid) { return; }\r
-               return $t.p.postData;\r
-       },\r
-       setPostData : function( newdata ) {\r
-               var $t = this[0];\r
-               if(!$t.grid) { return; }\r
-               // check if newdata is correct type\r
-               if ( typeof(newdata) === 'object' ) {\r
-                       $t.p.postData = newdata;\r
-               }\r
-               else {\r
-                       alert("Error: cannot add a non-object postData value. postData unchanged.");\r
-               }\r
-       },\r
-       appendPostData : function( newdata ) { \r
-               var $t = this[0];\r
-               if(!$t.grid) { return; }\r
-               // check if newdata is correct type\r
-               if ( typeof(newdata) === 'object' ) {\r
-                       $.extend($t.p.postData, newdata);\r
-               }\r
-               else {\r
-                       alert("Error: cannot append a non-object postData value. postData unchanged.");\r
-               }\r
-       },\r
-       setPostDataItem : function( key, val ) {\r
-               var $t = this[0];\r
-               if(!$t.grid) { return; }\r
-               $t.p.postData[key] = val;\r
-       },\r
-       getPostDataItem : function( key ) {\r
-               var $t = this[0];\r
-               if(!$t.grid) { return; }\r
-               return $t.p.postData[key];\r
-       },\r
-       removePostDataItem : function( key ) {\r
-               var $t = this[0];\r
-               if(!$t.grid) { return; }\r
-               delete $t.p.postData[key];\r
-       },\r
-       getUserData : function(){\r
-               var $t = this[0];\r
-               if(!$t.grid) { return; }\r
-               return $t.p.userData;\r
-       },\r
-       getUserDataItem : function( key ) {\r
-               var $t = this[0];\r
-               if(!$t.grid) { return; }\r
-               return $t.p.userData[key];\r
-       }\r
-});\r
-})(jQuery);
\ No newline at end of file