[Koha-bugs] [Bug 10359] CCSR theme should apply jqTransform after OpacUserJS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 28 19:46:34 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10359

Mirko Tietgen <mirko at abunchofthings.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18419|0                           |1
        is obsolete|                            |

--- Comment #2 from Mirko Tietgen <mirko at abunchofthings.net> ---
Created attachment 18440
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18440&action=edit
Bug 10359: transform masthead dropdown after user JS for CCSR

Since libraries may want to customize the options in the masthead search
dropdown, which is done via dropdown, it would be better if the select
box were transformed *after* user javascript was run.

To test:
1) Switch to the CCSR OPAC theme.
2) Add some Javascript to your OpacUserJS that will modify the masthead
   search dropdown, such as:
   $("select[name='idx']").append("<option value='Host-item,wrdl'>Journal
title</option>");
3) Note that when you view the OPAC, the results in the dropdown are unchanged.
4) Apply patch.
5) Note that your new option now shows up.
6) Sign off.

Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list