Show More
Commit Description:
Merge pull request #4 from sarunint/master...
Commit Description:
Merge pull request #4 from sarunint/master Implement list_all action for message console and update rails version.
References:
File last commit:
Show/Diff file:
Action:
app/views/problems/toggle.js.rjs | 6 lines | 213 B | text/plain | TextLexer |
if @problem.available
page["prob-#{@problem.id}"].className = "available"
else
page["prob-#{@problem.id}"].className = "not-available"
end
page["prob-#{@problem.id}-avail"].innerHTML = @problem.available.to_s