Merge pull request #2613 from rabuzarus/1506-frio_bookmarklet

frio: open jot modal automatically on bookmarklet page
2022.09-rc
Michael Vogel 2016-06-16 06:37:27 +02:00 zatwierdzone przez GitHub
commit 76abade4d8
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -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 && $("#jot-modal").length){
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(){