add javascript to Issue View
I am experiencing this bug in Version 6
http://forum.jetbrains.com/thread/YouTrack-1208?message=YouTrack-1208-5
in order to workaround this bug,
I want to add this javscript to the issue view to make sure the pictures atached from emails appear on the screen instead of a blank box. How can I add
var iii = 0;$('.wiki.picture-mailbox').each(function(){$(this).css('max-width','100%').css('max-height','100%').attr('width',"").attr('height',"").attr('src',$($('.show-img-attach.attach-zoom')[iii]).attr('href'));iii++;})
http://forum.jetbrains.com/thread/YouTrack-1208?message=YouTrack-1208-5
in order to workaround this bug,
I want to add this javscript to the issue view to make sure the pictures atached from emails appear on the screen instead of a blank box. How can I add
var iii = 0;$('.wiki.picture-mailbox').each(function(){$(this).css('max-width','100%').css('max-height','100%').attr('width',"").attr('height',"").attr('src',$($('.show-img-attach.attach-zoom')[iii]).attr('href'));iii++;})
Please sign in to leave a comment.
Install this plugin (or a similar one for your specific browser) and then put the above code into it on the appropriate page. (install plugins like this at your own risk, of course)
https://www.google.se/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCMQFjAA&url=https%3A%2F%2Fchrome.google.com%2Fwebstore%2Fdetail%2Fcustom-javascript-for-web%2Fpoakhlngfciodnhlhhgnaaelnpjljija%3Fhl%3Den&ei=YdzuVLP4FsPoUr-ygaAF&usg=AFQjCNEuyKH4X93B6VDXQsWG7qb7xbC6GQ&sig2=RJ5ByV1F-AsKRqYFg4UxBw&bvm=bv.86956481,d.d24