Bugzilla – Attachment 5171 Details for
Bug 6794
Broken toggle in member-flags in ie
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the bug
0001-Fix-the-toggles-on-the-checkboxes-of-the-manage-perm.patch (text/plain), 2.77 KB, created by
Maxime Pelletier
on 2011-08-26 20:59:22 UTC
(
hide
)
Description:
patch to fix the bug
Filename:
MIME Type:
Creator:
Maxime Pelletier
Created:
2011-08-26 20:59:22 UTC
Size:
2.77 KB
patch
obsolete
>From 7686c40cede93b21944f63cf302dcf5b4e792cc3 Mon Sep 17 00:00:00 2001 >From: Maxime Pelletier <maxime.pelletier@libeo.com> >Date: Fri, 26 Aug 2011 16:35:50 -0400 >Subject: [PATCH] Fix the toggles on the checkboxes of the manage permission page under ie. > Use onclick instead of onchange because onchange only triggers onblur in ie. > >--- > .../prog/en/modules/members/member-flags.tmpl | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tmpl >index da9bdc6..559739b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tmpl >@@ -95,9 +95,9 @@ > <li> > <!-- /TMPL_IF --> > <!-- TMPL_IF NAME="checked" --> >- <input type="checkbox" id="flag-<!-- TMPL_VAR NAME="bit" -->" name="flag" value="<!-- TMPL_VAR NAME="flag" -->" checked="checked" onchange="toggleChildren(this)" /> >+ <input type="checkbox" id="flag-<!-- TMPL_VAR NAME="bit" -->" name="flag" value="<!-- TMPL_VAR NAME="flag" -->" checked="checked" onclick="toggleChildren(this)" /> > <!-- TMPL_ELSE --> >- <input type="checkbox" id="flag-<!-- TMPL_VAR NAME="bit" -->" name="flag" value="<!-- TMPL_VAR NAME="flag" -->" onchange="toggleChildren(this)" /> >+ <input type="checkbox" id="flag-<!-- TMPL_VAR NAME="bit" -->" name="flag" value="<!-- TMPL_VAR NAME="flag" -->" onclick="toggleChildren(this)" /> > <!-- /TMPL_IF --> > <label class="permissioncode" for="flag-<!-- TMPL_VAR NAME="bit" -->"><!-- TMPL_VAR NAME="flag" --></label> > <span class="permissiondesc"><!-- TMPL_VAR NAME="flagdesc" --></span> >@@ -107,10 +107,10 @@ > <li> > <!-- TMPL_IF NAME="checked" --> > <input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" >- name="flag" value="<!-- TMPL_VAR NAME="perm" -->" checked="checked" onchange="toggleParent(this)" /> >+ name="flag" value="<!-- TMPL_VAR NAME="perm" -->" checked="checked" onclick="toggleParent(this)" /> > <!-- TMPL_ELSE --> > <input type="checkbox" id="<!-- TMPL_VAR NAME="id" -->" >- name="flag" value="<!-- TMPL_VAR NAME="perm" -->" onchange="toggleParent(this)" /> >+ name="flag" value="<!-- TMPL_VAR NAME="perm" -->" onclick="toggleParent(this)" /> > <!-- /TMPL_IF --> > <label class="permissioncode" for="<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="code" --></label> > <span class="permissiondesc"><!-- TMPL_VAR NAME="description" --></span> >-- >1.5.6.5 >
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 6794
: 5171 |
5172
|
5213