Merge pull request #2613 from rabuzarus/1506-frio_bookmarklet
frio: open jot modal automatically on bookmarklet page
This commit is contained in:
commit
76abade4d8
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue