Bugzilla – Attachment 62534 Details for
Bug 18437
Acquisitions fund edit repair
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[BUG 18437] Fix selects / change links to buttons
BUG-18437-Fix-selects--change-links-to-buttons.patch (text/plain), 1.99 KB, created by
Christopher Brannon
on 2017-04-21 15:35:43 UTC
(
hide
)
Description:
[BUG 18437] Fix selects / change links to buttons
Filename:
MIME Type:
Creator:
Christopher Brannon
Created:
2017-04-21 15:35:43 UTC
Size:
1.99 KB
patch
obsolete
>From c795903e07debb1384adb33c78858717de94dad1 Mon Sep 17 00:00:00 2001 >From: Christopher Brannon <cbrannon@cdalibrary.org> >Date: Fri, 21 Apr 2017 15:29:59 +0000 >Subject: [PATCH] [BUG 18437] Fix selects / change links to buttons > >To Test: >1) Create fund. >2) Select owner. >3) Select user. >4) Select same user again. >5) Note owner does not show unless you save the changes and edit the >fund again. >6) Note user can be added multiple times. >7) Apply patch. >8) Repeat stepps 1-4. >9) Note owner now shows first time. >10) Note user cannot be added multiple times. >11) Note links by owner and users have been changed to buttons. >12) Note "No owner" and "No users" messages have been added when there >are none. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >index b4997b4..4f8ced3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt >@@ -52,10 +52,10 @@ var MSG_PARENT_BENEATH_BUDGET = "- " + _("New budget-parent is beneath budget") > > function add_user(borrowernumber, borrowername) { > var ids = $.map($("#budget_users_id").val().split(':'), function(value){ return parseInt(value,10)}); >- if(borrowernumber && !ids.includes(borrowernumber) ) { >+ if ( borrowernumber && !ids.includes(borrowernumber) ) { > var li = '<li id="user_' + borrowernumber + '">' > + '<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=' + borrowernumber + '">' + borrowername + '</a>' >- + '  l  l >+ + ' ' > + '<div class="btn-group">' > + '<a class="btn btn-default btn-xs del_user" title="Remove this user" data-borrowernumber=" + borrowernumber +" href="#"><i class="fa fa-trash"></i> Remove</a> ' > + '</div>' >-- >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 18437
:
62185
|
62341
|
62534
|
62536
|
62560
|
62561
|
66772