Keeping the Edit Area always opened?
Added by Raphael Leroux almost 10 years ago
Hey guys,
Is there an easy way to modify the code or enable an option to leave the edit area open all the time?
Thanks!
Replies (4)
RE: Keeping the Edit Area always opened? - Added by James H almost 10 years ago
There probably almost is (hack it).
But I wouldn't try it unless you know some Ruby.
And if you did, you probably wouldn't have to ask this question... haha
RE: Keeping the Edit Area always opened? - Added by Raphael Leroux almost 10 years ago
James, we know ruby, we even did some plugins, but at this moment all my guys are busy so I allow myself to ask to this awesome community if there is a quick way to do it so I can do it myself. But don't feel force to reply.
RE: Keeping the Edit Area always opened? - Added by James H almost 10 years ago
oh, well then, if you dont mind me TRYing to give you suggestions on something I haven't done yet... then:
try to find the function that executes upon pressing the "Edit" button in the code.
try to find the function that executes upon viewing an Issue.
At the end of the view Issue script, run the "Edit" button script.
My guess is that this portion is done mainly through Javascript.
probably something to do with:
function updateIssueFrom(url) { $('#all_attributes input, #all_attributes textarea, #all_attributes select').each(function(){ $(this).data('valuebeforeupdate', $(this).val()); }); $.ajax({ url: url, type: 'post', data: $('#issue-form').serialize() }); }
or parts therein
But maybe you already knew that? Sorry if you wanted exact specifics on how and where to look. Hopefully this gets you started or helps in some way.
RE: Keeping the Edit Area always opened? - Added by Raphael Leroux almost 10 years ago
I'll take a look this week thanks