Closed (fixed)
Project:
Entity Reference View Widget
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 11:28 UTC
Updated:
6 Jun 2012 at 12:51 UTC
When the url the widget is displayed on contains a query string (e.g. ?destination=...) this is copied to the pager link.
The JavaScript code then incorrectly tries to get the page from the link (incorrect regex).
The supplied patch (created with svn, don't know how git works yet, sorry) changes the regex to only match numbers, this fixes the problem.
Also: I added a ; at the end of the first behavior, was missing in the latest dev.
| Comment | File | Size | Author |
|---|---|---|---|
| entityreference_view_widget.js_.patch | 756 bytes | michielnugter |
Comments
Comment #1
bojanz commentedCommitted, thanks.