View | Details | Raw Unified | Return to bug 13144
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-2 / +2 lines)
Lines 197-205 Link Here
197
                                    <div class="input-append nolibrarypulldown">
197
                                    <div class="input-append nolibrarypulldown">
198
                                [% END %]
198
                                [% END %]
199
                                [% IF ( ms_value ) %]
199
                                [% IF ( ms_value ) %]
200
                                    <input type="text" title="Type search term" class="transl1" name="q" value="[% ms_value |html %]" /><span id="translControl"></span>
200
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" value="[% ms_value |html %]" /><span id="translControl"></span>
201
                                [% ELSE %]
201
                                [% ELSE %]
202
                                    <input type="text" title="Type search term" class="transl1" name="q" /><span id="translControl"></span>
202
                                    <input type="text" title="Type search term" class="transl1" id = "translControl1" name="q" /><span id="translControl"></span>
203
                                [% END # /ms_value %]
203
                                [% END # /ms_value %]
204
204
205
                                [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
205
                                [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/googleindictransliteration.js (-3 / +2 lines)
Lines 8-14 Link Here
8
          sourceLanguage: 'en',
8
          sourceLanguage: 'en',
9
          destinationLanguage: ['hi','kn','ml','ta','te'],
9
          destinationLanguage: ['hi','kn','ml','ta','te'],
10
          shortcutKey: 'ctrl+g',
10
          shortcutKey: 'ctrl+g',
11
          transliterationEnabled: true
11
          transliterationEnabled: false
12
        };
12
        };
13
13
14
        // Create an instance on TransliterationControl with the required
14
        // Create an instance on TransliterationControl with the required
Lines 17-23 Link Here
17
            new google.elements.transliteration.TransliterationControl(options);
17
            new google.elements.transliteration.TransliterationControl(options);
18
18
19
        // Enable transliteration in the textfields with the given ids.
19
        // Enable transliteration in the textfields with the given ids.
20
        var ids = [ "transl1" ];
20
        var ids = [ "translControl1" ];
21
        control.makeTransliteratable(ids);
21
        control.makeTransliteratable(ids);
22
22
23
        // Show the transliteration control which can be used to toggle between
23
        // Show the transliteration control which can be used to toggle between
24
- 

Return to bug 13144