Show More
Commit Description:
change problem toggle to ajax...
Commit Description:
change problem toggle to ajax
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@286 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/problems/toggle.js.rjs
| 4 lines
| 142 B
| text/plain
| TextLexer
|
|
r147 | if @problem.available | |
page["prob-#{@problem.id}"].className = "available" | |||
else | |||
page["prob-#{@problem.id}"].className = "not-available" | |||
end |