From e7c4d800926943f61cfc18484819d9f6e91e7d1b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 2 Feb 2013 13:40:23 -0500 Subject: [PATCH] Bug 9630 - Replace YUI button on cities and towns administration page with Bootstrap Content-Type: text/plain; charset="utf-8" This patch converts the toolbar button on the cities administration page to Bootstrap, replacing YUI button and menu code with Bootstrap markup. To test, view the cities administration page and confirm that the "New city" button looks correct and works correctly. --- .../intranet-tmpl/prog/en/modules/admin/cities.tt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt index 4b5dc0b..65de2be 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt @@ -19,9 +19,6 @@ document.Aform.submit(); } } - $(document).ready(function() { - new YAHOO.widget.Button("newcity"); - }); //]]> @@ -118,10 +115,9 @@ [% IF ( else ) %] -
-
+
+ New city +

Cities

[% IF ( searchfield ) %] -- 1.7.9.5