exposure export tool: jquery/draw-tool bug

Bug #1185813 reported by Ben Wyss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Platform
Fix Committed
Undecided
Lars Butler

Bug Description

There is a bug in the exposure export tool selection box tool.

to reproduce this issue:
zoom in and make a selection using the draw selection box tool, zoom out, and back in, pull another selection box. continue until you get the following error:

Uncaught TypeError: Property '$' of object [object Object] is not a function exposure_export.html:510
(anonymous function) exposure_export.html:510
n.Mixin.Events.fireEvent leaflet.js:5
L.Rectangle.Draw.L.SimpleShape.Draw.extend._fireCreatedEvent leaflet.draw.js:317
L.SimpleShape.Draw.L.Handler.Draw.extend._onMouseUp leaflet.draw.js:273
t.(anonymous function).a

Revision history for this message
Lars Butler (lars-butler) wrote :

Solved in pull request https://github.com/gem/oq-platform/pull/33 by commit https://github.com/gem/oq-platform/commit/0099d4a36f4913c725cd16e778e5cc1f968c7e15.

Note: The primary objective of this pull request is to fix bug # 1182426.

Ben Wyss (bmwyss)
Changed in oq-platform:
status: New → Fix Committed
assignee: nobody → Lars Butler (lars-butler)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.