Skip to content

Commit

Permalink
fix wrong if closure
Browse files Browse the repository at this point in the history
  • Loading branch information
KreizIT committed Aug 8, 2014
1 parent 9bf3260 commit c9c54e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/comm/action/index.php
Expand Up @@ -335,8 +335,8 @@
{
$s.='jQuery( "td.sortable" ).sortable({connectWith: ".sortable",placeholder: "ui-state-highlight",items: "div:not(.unsortable)", receive: function( event, ui ) {';
$s.='var frm=jQuery("#move_event");frm.attr("action",ui.item.find("a.cal_event").attr("href")).children("#newdate").val(jQuery(event.target).closest("div").attr("id"));frm.submit();}});'."\n";
$s.='});' . "\n";
}
$s.='});' . "\n";
$s.='</script>' . "\n";
if (! empty($conf->use_javascript_ajax))
{
Expand Down

0 comments on commit c9c54e3

Please sign in to comment.