Merge branch 'master' of dev.sourcefabric.org:campcaster
This commit is contained in:
commit
1e23907df1
|
@ -377,9 +377,9 @@ function openDiffSPL(json) {
|
||||||
setUpSPL();
|
setUpSPL();
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function() {
|
function setUpSPL() {
|
||||||
|
|
||||||
$("#spl_sortable").sortable();
|
$("#spl_sortable").sortable();
|
||||||
$("#spl_sortable" ).bind( "sortstop", moveSPLItem);
|
$("#spl_sortable" ).bind( "sortstop", moveSPLItem);
|
||||||
$("#spl_remove_selected").click(deleteSPLItem);
|
$("#spl_remove_selected").click(deleteSPLItem);
|
||||||
$("#spl_new")
|
$("#spl_new")
|
||||||
|
@ -400,5 +400,8 @@ $(document).ready(function() {
|
||||||
|
|
||||||
$("#spl_sortable").droppable();
|
$("#spl_sortable").droppable();
|
||||||
$("#spl_sortable" ).bind( "drop", addSPLItem);
|
$("#spl_sortable" ).bind( "drop", addSPLItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
setUpSPL();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue