this hack prevents http submit of forms when editing-in-place
i do this by replacing the <form> element with a <div> so the form no longer has default behaviours that need to be overridden by jquery.
This commit is contained in:
parent
ae247f09bf
commit
6749ffb0fa
1 changed files with 7 additions and 1 deletions
|
@ -177,7 +177,13 @@
|
|||
$(self).html('');
|
||||
|
||||
/* create the form object */
|
||||
var form = $('<form />');
|
||||
/* #########################
|
||||
###################
|
||||
##################
|
||||
Big HACK by ali: i make the form a div so that it no longer has default
|
||||
submit behaviours -- because we don't want HTTP submissions to happen */
|
||||
//var form = $('<form />');
|
||||
var form = $('<div />');
|
||||
|
||||
/* apply css or style or both */
|
||||
if (settings.cssclass) {
|
||||
|
|
Loading…
Add table
Reference in a new issue