Bug 9632 - Replace YUI button on the currencies administration page with Bootstrap
This patch converts the toolbar on the currencies administration page to Bootstrap, replacing YUI button code with Bootstrap markup. To test, view the currencies and exchange rates administration page. The 'New currency' button should look correct and work correctly. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Comment: Work and look correctly. No errors Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works nicely, no problems found. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
91eaa1e170
commit
3e45a2fde1
1 changed files with 3 additions and 6 deletions
|
@ -46,8 +46,6 @@
|
|||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
new YAHOO.widget.Button("newcurrency");
|
||||
|
||||
// prevents users to check active with a currency != 1
|
||||
$("#rate").keyup(function() {
|
||||
check_currency( $(this).val() );
|
||||
|
@ -76,10 +74,9 @@
|
|||
<div class="yui-b">
|
||||
|
||||
[% IF ( else ) %]
|
||||
<div id="toolbar">
|
||||
<ul class="toolbar">
|
||||
<li><a id="newcurrency" href="[% script_name %]?op=add_form">New currency</a></li>
|
||||
</ul></div>
|
||||
<div id="toolbar" class="btn-toolbar">
|
||||
<a class="btn btn-small" id="newcurrency" href="[% script_name %]?op=add_form"><i class="icon-plus"></i> New currency</a>
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
[% IF ( add_form ) %]
|
||||
|
|
Loading…
Reference in a new issue