Closed (duplicate)
Project:
Modal Frame API
Version:
6.x-1.7
Component:
Javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 May 2011 at 10:21 UTC
Updated:
14 Nov 2013 at 19:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lelizondo commentedI'm also getting this behavior
Comment #2
lelizondo commentedI couldn't find the lines you're referring to. I ended up changing the JS to not add the target
Comment #3
tobey_p commentedI was working on the same problem and did'nt noticed that there is already an issue for this.
I came up with a quite similar solution, but instead of "indexOf()" i used "substr()",
so its for sure that "javascript" is at the begining of the "href".
Additionally i added "toLowerCase()" to take into account that the keyword is maybe written uppercase.
Attached is a patch file.
Comment #4
modctek commentedsubscribing
Comment #5
dsnopekFixed in issue #1298736: Use _blank instead of _new and ignore 'javascript:' links..