Open dreanmer opened 10 years ago
Ah, right. Good one. Could you make a pull request?
sorry i really busy to do this, i realy thank you for the script, but the bug solution is simple as
[cmd+r] item.data('path') [tab] item.attr('data-path')
cheers
[]'s
2014-03-05 5:48 GMT-03:00 David Durman notifications@github.com:
Ah, right. Good one. Could you make a pull request?
Reply to this email directly or view it on GitHubhttps://github.com/DavidDurman/FlexiJsonEditor/issues/20#issuecomment-36721048 .
There are places where $(this).data('path') are used. Those need to be replaced as well.
if the path is 0.0 your item.data('path') will return 0 instead of 0.0 change to item.attr('data-path') solves the problem.
if you want a try:
[{"name":"html","type":"find","filter":".image-additional a"},{"name":"each","filters":[{"name":"html","type":"href"}]}]