From 6e2444215584ab49313bb244199e85be7af0bb80 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 7 Apr 2010 16:15:59 +0000 Subject: Wrong jquery editable lib. git-svn-id: http://code.elgg.org/elgg/trunk@5653 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/vendor/jq.editable.min.js | 10 -------- mod/profile/vendor/jquery.jeditable.mini.js | 38 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 10 deletions(-) delete mode 100644 mod/profile/vendor/jq.editable.min.js create mode 100644 mod/profile/vendor/jquery.jeditable.mini.js (limited to 'mod/profile/vendor') diff --git a/mod/profile/vendor/jq.editable.min.js b/mod/profile/vendor/jq.editable.min.js deleted file mode 100644 index 28bf89d3a..000000000 --- a/mod/profile/vendor/jq.editable.min.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Editable 1.3.3 - * - * Copyright (c) 2009 Arash Karimzadeh (arashkarimzadeh.com) - * Licensed under the MIT (MIT-LICENSE.txt) - * http://www.opensource.org/licenses/mit-license.php - * - * Date: Mar 02 2009 - */ -(function($){$.fn.editable=function(options){var defaults={onEdit:null,onSubmit:null,onCancel:null,editClass:null,submit:null,cancel:null,type:"text",submitBy:"blur",editBy:"click",options:null};if(options=="disable"){return this.unbind(this.data("editable.options").editBy,this.data("editable.options").toEditable)}if(options=="enable"){return this.bind(this.data("editable.options").editBy,this.data("editable.options").toEditable)}if(options=="destroy"){return this.unbind(this.data("editable.options").editBy,this.data("editable.options").toEditable).data("editable.previous",null).data("editable.current",null).data("editable.options",null)}var options=$.extend(defaults,options);options.toEditable=function(){$this=$(this);$this.data("editable.current",$this.html());opts=$this.data("editable.options");$.editableFactory[opts.type].toEditable($this.empty(),opts);$this.data("editable.previous",$this.data("editable.current")).children().focus().addClass(opts.editClass);if(opts.submit){$("