mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX: removed sortable event from livequery as it no longer needs to be
This commit is contained in:
parent
6b7e9f576a
commit
4e8abded2e
@ -183,8 +183,7 @@
|
|||||||
/**
|
/**
|
||||||
* Sort Fields in the Field List
|
* Sort Fields in the Field List
|
||||||
*/
|
*/
|
||||||
$("#Fields_fields").live(function() {
|
$("#Fields_fields").sortable({
|
||||||
$(this).sortable({
|
|
||||||
handle : '.fieldHandler',
|
handle : '.fieldHandler',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
items: 'li.EditableFormField',
|
items: 'li.EditableFormField',
|
||||||
@ -202,7 +201,6 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sort Options in a Field List - Such as options in a
|
* Sort Options in a Field List - Such as options in a
|
||||||
|
Loading…
Reference in New Issue
Block a user