From 40ccdcb2366e03fa5a03c41ad9c0bbc5c60feaa0 Mon Sep 17 00:00:00 2001 From: Tyron Madlener Date: Tue, 19 Jul 2011 21:44:53 +0300 Subject: [PATCH] Remove duplicate intialization --- js/sql.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/js/sql.js b/js/sql.js index 3f778e159a..c1106cdfcd 100644 --- a/js/sql.js +++ b/js/sql.js @@ -162,24 +162,6 @@ $(document).ready(function() { $('#table_results').makegrid(); }) - /** - * Attach the {@link refreshgrid} function to a custom event, which will be - * triggered manually everytime the table of results is manipulated (e.g., by inline edit) - * @memberOf jQuery - */ - $("#sqlqueryresults").live('refreshgrid', function() { - $('#table_results').refreshgrid(); - }) - - /** - * Attach the {@link makegrid} function to a custom event, which will be - * triggered manually everytime the table of results is reloaded - * @memberOf jQuery - */ - $("#sqlqueryresults").live('makegrid', function() { - $('#table_results').makegrid(); - }) - /** * Attach the {@link refreshgrid} function to a custom event, which will be * triggered manually everytime the table of results is manipulated (e.g., by inline edit)