Lines 25-30
Link Here
|
25 |
countSelected: _("# of % selected"), |
25 |
countSelected: _("# of % selected"), |
26 |
noMatchesFound: _("No matches found") |
26 |
noMatchesFound: _("No matches found") |
27 |
} ); |
27 |
} ); |
|
|
28 |
$(".force_reload").on("click",function(e){ |
29 |
e.preventDefault(); |
30 |
window.location.reload(true); |
31 |
}); |
28 |
}); |
32 |
}); |
29 |
// This is here because of its dependence on template variables, everything else should go in js/pages/preferences.js - jpw |
33 |
// This is here because of its dependence on template variables, everything else should go in js/pages/preferences.js - jpw |
30 |
var to_highlight = "[% searchfield |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]"; |
34 |
var to_highlight = "[% searchfield |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]"; |
Lines 179-185
Link Here
|
179 |
[% IF ( loop.last ) %]</tbody></table>[% END %] |
183 |
[% IF ( loop.last ) %]</tbody></table>[% END %] |
180 |
[% END %] |
184 |
[% END %] |
181 |
[% END %] |
185 |
[% END %] |
182 |
<fieldset class="action"><button class="save-all submit" type="submit">Save all [% TAB.tab_title %] preferences</button> <a href="#" onclick="window.location.reload(true);" class="cancel">Cancel</a></fieldset> |
186 |
<fieldset class="action"><button class="save-all submit" type="submit">Save all [% TAB.tab_title %] preferences</button> <a href="/cgi-bin/koha/admin/preferences.pl" class="force_reload cancel">Cancel</a></fieldset> |
183 |
</form> |
187 |
</form> |
184 |
</div> |
188 |
</div> |
185 |
[% END %] |
189 |
[% END %] |