From 6480f80d83b1ad2e17466d635d336c3f206dfc07 Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 13 Oct 2016 11:14:50 +0200 Subject: [PATCH] changed "wice_grid not loaded script" to blank js --- lib/wice/helpers/wice_grid_view_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wice/helpers/wice_grid_view_helpers.rb b/lib/wice/helpers/wice_grid_view_helpers.rb index 12d95a70..5a4fe525 100755 --- a/lib/wice/helpers/wice_grid_view_helpers.rb +++ b/lib/wice/helpers/wice_grid_view_helpers.rb @@ -505,7 +505,7 @@ def grid_html(grid, options, rendering, reuse_last_column_for_filter_buttons) #: grid.output_buffer << '' 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" + ) +