Show
Ignore:
Timestamp:
03/19/09 10:40:34 (3 years ago)
Author:
john
Message:

features and bug fixes from gocoffeego project

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/action_view/helpers/javascript_helper.php

    r282 r308  
    516516            $options['with'] = "Sortable.serialize('{$element_id}')"; 
    517517        } 
    518         if(!$options['onUpdate']) { 
    519             $options['onUpdate'] = "function(){" . $this->remote_function($options) . "}"; 
     518        if(!$options['onDrop']) { 
     519            $options['onDrop'] = "function(){" . $this->remote_function($options) . "}"; 
    520520        } 
    521521        $options = $this->remove_ajax_options($options);