kongondo / MenuBuilder

Easily create navigation lists/menus using drag and drop
GNU General Public License v2.0
21 stars 8 forks source link

No Javascript in the URL for custom links possible #17

Closed flipzoom closed 8 years ago

flipzoom commented 9 years ago

I can not save javascript in a custom link in the URL parameter. For example: "javascript:void();". The menu item will not be saved. If I change an existing item, it is removed. The same phenomenon occurs when I leave the URL parameter empty. version 0.1.0

BTW, thanks for the great module.

kongondo commented 9 years ago

URL and title are required fields and cannot be left empty (just in case editors forget them). Whereas you can use # as a URL, JS will not pass through the sanitizer, i.e. $sanitizer->url. That's what's happening.