context:                 form.submit(function(e) {                    if (t) {                         clearTimeout(t);                    }                    /* do no submit */                    e.preventDefault();                                 /* if this input type has a call before submit hook, call it */                    submit.apply(form, [settings, self]);                    /* check if given target is function */                    if ($.isFunction(settings.target)) {                        var str = settings.target.apply(self, [input.val(), settings]);                        self.innerHTML = str;                        self.editing = false;                        callback.apply(self, [self.innerHTML, settings]);                    } else {                        /* add edited content and id of edited element to POST */                        var submitdata = {};                        submitdata[settings.name] = input.val();                        submitdata[settings.id] = self.id;                        /* add extra data to be POST:ed */                        if ($.isFunction(settings.submitdata)) {                            $.extend(submitdata, settings.submitdata.apply(self, [self.revert, settings]));                        } else {                            $.extend(submitdata, settings.submitdata);                        }                                  /* show the saving indicator */                        $(self).html(settings.indicator);                        $.post(settings.target, submitdata, function(str) {                            self.innerHTML = str;                            self.editing = false;                            callback.apply(self, [self.innerHTML, settings]);                        });                    }                                            return false;                });
meta: 8486	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8486/9fb1acc77a20f01cbab4f179af48eb9bad76cef5/jquery.jeditable.js/clean/jquery.jeditable.js