Bugzilla – Attachment 71096 Details for
Bug 20115
Languages appear in a different order in the footer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20115: Trigger "modified" when sort is changed
Bug-20115-Trigger-modified-when-sort-is-changed.patch (text/plain), 1.72 KB, created by
Jonathan Druart
on 2018-01-31 18:17:16 UTC
(
hide
)
Description:
Bug 20115: Trigger "modified" when sort is changed
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-01-31 18:17:16 UTC
Size:
1.72 KB
patch
obsolete
>From 6e1f1cd09594f89c6909b91c211977da41dd98cc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 31 Jan 2018 14:06:23 -0300 >Subject: [PATCH] Bug 20115: Trigger "modified" when sort is changed > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt | 1 - > koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js | 6 ++++++ > 2 files changed, 6 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >index 1a0d246e13..46a0d11da8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >@@ -162,7 +162,6 @@ > });[% END %] > > $(document).ready(function(){ >- $("dl.sortable").sortable(); > $("select[multiple='multiple']").multipleSelect( { > placeholder: _("Please select ..."), > selectAllText: _("Select all"), >diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js b/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js >index 70365cd8b0..f7ed5e1121 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js >@@ -82,6 +82,12 @@ $( document ).ready( function () { > return false; > }); > >+ $("dl.sortable").sortable(); >+ $("dl.sortable").on( "sortchange", function( event, ui ) { >+ // This is not exact but we just need to trigger a change >+ $(ui.item.find('input:first')).change(); >+ } ); >+ > window.onbeforeunload = function () { > if ( KOHA.Preferences.Modified ) { > return MSG_MADE_CHANGES; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20115
:
71094
|
71095
|
71096
|
71661
|
73027
|
73028
|
73029
|
73030
|
73433
|
73610
|
73611
|
73612
|
73613
|
73614