From fef167bd0f655f1f754161471e4c756470b0558d Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 25 Jul 2011 15:00:11 -0700 Subject: [PATCH] Fix a syntax error in the Json table caused by my bad merge. --- lib/WebGUI/Form/JsonTable.pm | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/lib/WebGUI/Form/JsonTable.pm b/lib/WebGUI/Form/JsonTable.pm index 84b0d6d5b..9c5bd414b 100644 --- a/lib/WebGUI/Form/JsonTable.pm +++ b/lib/WebGUI/Form/JsonTable.pm @@ -138,7 +138,7 @@ sub headTags { my $self = shift; my ( $url, $style ) = $self->session->quick(qw( url style )); $style->setScript( - $url->extras('yui/build/connect/connect-min.js'), + $url->extras('yui/build/connection/connection-min.js'), { type => 'text/javascript' }, ); $style->setScript( @@ -229,27 +229,6 @@ sub toHtml { $output .= ''; # Existing rows are entirely built in javascript from the JSON in the hidden field -<<<<<<< HEAD -======= - $style->setScript( - $url->extras('yui/build/connection/connection-min.js'), - { type => 'text/javascript' }, - ); - $style->setScript( - $url->extras('yui/build/yahoo-dom-event/yahoo-dom-event.js'), - { type => 'text/javascript' }, - ); - $style->setScript( - $url->extras('yui/build/json/json-min.js'), - { type => 'text/javascript' }, - ); - $style->setScript( - $url->extras('yui-webgui/build/i18n/i18n.js'), - { type => 'text/javascript' }, - ); - $output .= sprintf '', - $url->extras('yui-webgui/build/form/jsontable.js'); ->>>>>>> 7d20406... Fix a bad script link in the JsonTable. Fixes bug #12202. $output .= '