Skip to content

Commit

Permalink
changed "wice_grid not loaded script" to blank js
Browse files Browse the repository at this point in the history
  • Loading branch information
golddiga authored Oct 13, 2016
1 parent 0d7348f commit 6480f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wice/helpers/wice_grid_view_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ def grid_html(grid, options, rendering, reuse_last_column_for_filter_buttons) #:
grid.output_buffer << '</div>'

if Rails.env.development?
grid.output_buffer << javascript_tag(%/ $(document).ready(function(){ \n/ +
grid.output_buffer << javascript_tag(%/ document.ready = function(){ \n/ +
%$ if (typeof(WiceGridProcessor) == "undefined"){\n$ +
%$ alert("wice_grid.js not loaded, WiceGrid cannot proceed!\\n" +\n$ +
%( "Make sure that you have loaded wice_grid.js.\\n" + ) +
Expand Down

0 comments on commit 6480f80

Please sign in to comment.