diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-19 19:10:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-19 19:10:18 +0000 |
commit | 3eaa998c28eb5f5dcbe0af6181ac28521c92f75d (patch) | |
tree | 0b4087ddbefa9765fc853039fb4ad8507ffc19f8 /app/views/journals/new.js.erb | |
parent | e8469e2c5b41e59a1a204ac730e2c3ab9261b8ff (diff) | |
download | redmine-3eaa998c28eb5f5dcbe0af6181ac28521c92f75d.tar.gz redmine-3eaa998c28eb5f5dcbe0af6181ac28521c92f75d.zip |
Removes RJS from JournalsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10054 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/journals/new.js.erb')
-rw-r--r-- | app/views/journals/new.js.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/journals/new.js.erb b/app/views/journals/new.js.erb new file mode 100644 index 000000000..e2e6590ae --- /dev/null +++ b/app/views/journals/new.js.erb @@ -0,0 +1,5 @@ +$('notes').value = "<%= raw escape_javascript(@content) %>"; +Element.show('update'); +Form.Element.focus('notes'); +Element.scrollTo('update'); +$('notes').scrollTop = $('notes').scrollHeight - $('notes').clientHeight; |