Bugzilla – Attachment 16658 Details for
Bug 4354
Cannot edit existing issuing rules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 4354: Manage the specific case "Unlimited" value
PASSED-QA-Bug-4354-Manage-the-specific-case-Unlimi.patch (text/plain), 1.60 KB, created by
Katrin Fischer
on 2013-03-21 14:52:40 UTC
(
hide
)
Description:
[PASSED QA] Bug 4354: Manage the specific case "Unlimited" value
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-03-21 14:52:40 UTC
Size:
1.60 KB
patch
obsolete
>From a2efe02f9b0eb7b03747f90421d1b602b65a4737 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 21 Mar 2013 15:43:01 +0100 >Subject: [PATCH] [PASSED QA] Bug 4354: Manage the specific case "Unlimited" > value > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >All good :) >--- > .../prog/en/modules/admin/smart-rules.tt | 7 +++++++ > 1 file changed, 7 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >index 7a9490a..a029443 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >@@ -56,6 +56,13 @@ $(document).ready(function() { > // Remove potential previous input added > $(current_column).find("input").remove(); > $(current_column).append("<input type='hidden' name='"+name+"' value='"+val+"' />"); >+ } else if ( i == 2 ) { >+ // If the value is not an integer for "Current checkouts allowed" >+ // The value is "Unlimited" (or an equivalent translated string) >+ // an it should be set to an empty string >+ if( !((parseFloat(itm) == parseInt(itm)) && !isNaN(itm)) ) { >+ $(current_column).find("input[type='text']").val(""); >+ } > } > } else { > // specific processing for the Hard due date column >-- >1.7.9.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 4354
:
2182
|
2932
|
2946
|
14622
|
14818
|
14819
|
14821
|
14824
|
14829
|
16199
|
16200
|
16234
|
16610
|
16611
|
16615
|
16616
|
16617
|
16618
|
16650
|
16654
|
16655
|
16656
|
16657
| 16658