diff options
author | mr <mr@mrautenberg.de> | 2011-03-15 16:39:22 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-03-15 16:39:22 +0100 |
commit | d8d49429f3d913fea56a631ac0a5b61c80916424 (patch) | |
tree | 4edb78e6d019fbc1906b712acf9ea1da5e2f2574 /public | |
parent | 422a5abc6c56f237d0bc84bce613e688867d0e16 (diff) |
clean toxcreate.js, fix cancel edit modelname / pt2
Diffstat (limited to 'public')
-rwxr-xr-x | public/javascripts/toxcreate.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/javascripts/toxcreate.js b/public/javascripts/toxcreate.js index aea46f1..3f243fe 100755 --- a/public/javascripts/toxcreate.js +++ b/public/javascripts/toxcreate.js @@ -111,7 +111,7 @@ $(function() { }); -jQuery.fn.editModel = function(type, options) { +jQuery.fn.editModel = function(options) { var defaults = { method: 'get', action: this.attr('href'), @@ -138,7 +138,7 @@ jQuery.fn.editModel = function(type, options) { }); }; -jQuery.fn.cancelEdit = function(type, options) { +jQuery.fn.cancelEdit = function(options) { var defaults = { method: 'get', action: 'model/' + options.id + '/name?mode=show', @@ -165,7 +165,7 @@ jQuery.fn.cancelEdit = function(type, options) { }); }; -jQuery.fn.saveModel = function(type, options) { +jQuery.fn.saveModel = function(options) { var defaults = { method: 'put', action: 'model/' + options.id, |