Bugzilla – Attachment 62796 Details for
Bug 3311
Statistical reports should error if row and column aren't selected
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 3311: Create common Row Columns Require javascript
Bug-3311-Create-common-Row-Columns-Require-javascr.patch (text/plain), 1.11 KB, created by
Mark Tompsett
on 2017-04-27 18:39:08 UTC
(
hide
)
Description:
Bug 3311: Create common Row Columns Require javascript
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-04-27 18:39:08 UTC
Size:
1.11 KB
patch
obsolete
>From cc96317ac0aa24fae00bf27d4ffdaca6806ca56f Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 27 Apr 2017 13:20:45 -0400 >Subject: [PATCH] Bug 3311: Create common Row Columns Require javascript > >--- > koha-tmpl/intranet-tmpl/prog/en/js/row-columns-require.js | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 koha-tmpl/intranet-tmpl/prog/en/js/row-columns-require.js > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/row-columns-require.js b/koha-tmpl/intranet-tmpl/prog/en/js/row-columns-require.js >new file mode 100644 >index 0000000..5d4d481 >--- /dev/null >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/row-columns-require.js >@@ -0,0 +1,13 @@ >+$(document).ready(function() { >+ $("#configure_report").validate({ >+ errorPlacement: function(error, element) { >+ if (element.attr("name") == "Line") { >+ $("#LineError").html( error ); >+ } else if (element.attr("name") == "Column") { >+ $("#ColumnError").html( error ); >+ } else { >+ error.insertAfter(element); >+ } >+ } >+ }); >+}); >-- >2.1.4
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 3311
:
52775
|
52776
|
52777
|
52778
|
52779
|
53194
|
53195
|
53291
|
62533
|
62541
|
62623
|
62624
|
62630
|
62658
|
62659
|
62776
|
62777
|
62793
|
62794
|
62795
| 62796 |
62797
|
62798
|
62799
|
62800
|
62801
|
62802