webstaff: fix dirty form detection for the patron editor

Bug #1581196 reported by Galen Charlton on 2016-05-12
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Medium
Unassigned

Bug Description

Following the upgrade to AngularJS 1.5, the patron editor started inappropriately thinking that the form had been modified by the user even when no such modification had taken place. The problem has to do with the use of uib-datepicker-popup, which seems to invoke the ng-change callback several times as it initializes itself.

Evergreen master

Galen Charlton (gmc) wrote :

A patch is available as commit 9e8b3ed2dc in the working repository:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=commit;h=9e8b3ed2dc7eef1018d411c6bc409fe1b65de0fb

The patch is part of the collab/gmcharlt/webstaff-sprint3 branch but can be cherry-picked separately.

tags: added: pullrequest webstaffclient
Kathy Lussier (klussier) on 2016-05-20
Changed in evergreen:
status: New → Confirmed
importance: Undecided → Medium
Bill Erickson (berick) wrote :

Fix confirmed and merged to master. Thanks, Galen.

Changed in evergreen:
assignee: nobody → Bill Erickson (berick)
milestone: none → 2.next
status: Confirmed → Fix Committed
assignee: Bill Erickson (berick) → nobody
Changed in evergreen:
milestone: 2.next → 2.11-alpha
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers