frio: open jot modal automatically on bookmarklet page

This commit is contained in:
rabuzarus 2016-06-16 00:20:00 +02:00
parent 5ec7626b12
commit dfce0f5b64

View file

@ -62,6 +62,11 @@ $(document).ready(function(){
toggleJotNav(this);
});
// bookmarklet page needs an jot modal which appears automatically
if(window.location.pathname.indexOf("/bookmarklet") >=0){
jotShow();
}
// Open filebrowser for elements with the class "image-select"
// The following part handles the filebrowser for field_fileinput.tpl
$("body").on("click", ".image-select", function(){