Browse Source

Merge pull request #2613 from rabuzarus/1506-frio_bookmarklet

frio: open jot modal automatically on bookmarklet page
pull/2620/head
Michael Vogel 5 years ago
committed by GitHub
parent
commit
76abade4d8
  1. 5
      view/theme/frio/js/modal.js

5
view/theme/frio/js/modal.js

@ -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(){

Loading…
Cancel
Save