Bugzilla – Attachment 1211 Details for
Bug 3297
upgrade to jQuery 1.3.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for some errors
0001-Correcting-some-selectors-to-conform-with-upgraded-j.patch (text/plain), 4.59 KB, created by
Chris Cormack
on 2009-07-21 17:35:00 UTC
(
hide
)
Description:
Fix for some errors
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-07-21 17:35:00 UTC
Size:
4.59 KB
patch
obsolete
>From 53a78f9430b1f95b4c19cc2b1d3938958ade298f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 21 Jul 2009 12:31:50 -0500 >Subject: [PATCH] Correcting some selectors to conform with upgraded jQuery syntax (see Bug 3297). >Content-Type: text/plain; charset="utf-8" > >--- > .../prog/en/modules/members/moremember.tmpl | 20 ++++++++++---------- > .../prog/en/modules/reserve/request.tmpl | 6 +++--- > 2 files changed, 13 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl >index ca2ed7c..d3deaf9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl >@@ -27,21 +27,21 @@ $(document).ready(function() { > <!-- TMPL_IF NAME="picture" --> > // new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button > $('#delpicture').click(function(){ >- return confirm('Are you sure you want to delete this patron image? This cannot be undone.'); >+ return confirm(_('Are you sure you want to delete this patron image? This cannot be undone.')); > }); >- $('#manage-patron-image').find("input[@value*=Upload]").click(function(){ >+ $('#manage-patron-image').find("input[value*=Upload]").click(function(){ > if($("#uploadfile").val() == ""){ >- alert("Please choose a file to upload"); >+ alert(_("Please choose a file to upload")); > return false; > } >- return confirm('Are you sure you want to replace the current patron image? This cannot be undone.'); >+ return confirm(_('Are you sure you want to replace the current patron image? This cannot be undone.')); > });<!-- /TMPL_IF --> >- $("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[@name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[@name*=barcodes]"); }); >- $("#return_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[@name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[@name*=items]" ); }); >- $("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[@name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[@name*=barcodes]"); return false; }); >- $("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[@name*=items]"); return false; }); >- $("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[@name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[@name*=items]"); return false; }); >- $("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[@name*=barcodes]"); return false; }); >+ $("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); }); >+ $("#return_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]" ); }); >+ $("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); >+ $("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); >+ $("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); >+ $("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); > > <!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" --> > <!-- TMPL_IF NAME="AllowRenewalLimitOverride" --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl >index ce8e5cb..a98fefe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl >@@ -108,14 +108,14 @@ function checkMultiHold() { > }); > $("#requestany").click(function() { > if(this.checked){ >- $("input[@name=checkitem]").each(function() { >+ $("input[name=checkitem]").each(function() { > $(this).attr("checked",""); > }); > } > }); >- $("input[@name=checkitem]").click(function() { >+ $("input[name=checkitem]").click(function() { > onechecked = 0; >- $("input[@name=checkitem]").each(function() { >+ $("input[name=checkitem]").each(function() { > if(this.checked){ > onechecked = 1; > } >-- >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 3297
: 1211