##// END OF EJS Templates
Add unloadable to the sample plugin controller (http://dev.rubyonrails.org/ticket/6001)....
Add unloadable to the sample plugin controller (http://dev.rubyonrails.org/ticket/6001). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1283 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1138:1c8cf4ef8338
r1268:a8e6f68aaf3b
Show More
update.rjs
8 lines | 250 B | text/plain | TextLexer
if @journal.frozen?
# journal was destroyed
page.remove "change-#{@journal.id}"
else
page.replace "journal-#{@journal.id}-notes", render_notes(@journal)
page.show "journal-#{@journal.id}-notes"
page.remove "journal-#{@journal.id}-form"
end