What steps will reproduce the problem?
1. selectedNew set to false
2. add an image
3. select the image
4. add another object
What is the expected output? What do you see instead?
You are prompted to enter a URL when you shouldn't be
In what version of SVG-edit does the problem occur? (Latest trunk, 2.5.1,
etc)
Trunk
Please provide any additional information below.
On line 1502 in svg-editor.js it is assumed that when svgCanvas.addedNew is
true then the selected object will be then newly created object. elname is
tested to see if the selected object is an image and if it is promptImgURL() is
called. This code fails when 'selectedNew' is set to false as a config option.
Original issue reported on code.google.com by mcdonald...@gmail.com on 30 Sep 2011 at 5:15
Original issue reported on code.google.com by
mcdonald...@gmail.com
on 30 Sep 2011 at 5:15