lib/netzke/basepack/grid_panel/services.rb in netzke-basepack-0.7.1 vs lib/netzke/basepack/grid_panel/services.rb in netzke-basepack-0.7.2
- old
+ new
@@ -135,10 +135,9 @@
# remove duplicated flash messages
@flash = @flash.inject([]){ |r,hsh| r.include?(hsh) ? r : r.push(hsh) }
if mod_records_count > 0
on_data_changed
- flash :notice => "Updated #{mod_records_count} records."
{:set_result => "ok", :netzke_feedback => @flash}.to_nifty_json
else
{:netzke_feedback => @flash}.to_nifty_json
end
end