lib/alchemy/custom/model/order.rb in alchemy-custom-model-2.0.2 vs lib/alchemy/custom/model/order.rb in alchemy-custom-model-2.0.3

- old
+ new

@@ -29,10 +29,10 @@ end end def update - if !self.class.method_for_show.blank? + if !self.class.method_for_show.blank? and !@parent.nil? klass= klass_for_show_elements else klass= self.parent_klass end updated_nodes = params[:ordered_data] \ No newline at end of file