Permalink
Browse files

MDL-35119 tool_assignmentupgrade Changing onsubmit form for onclick b…

…utton
  • Loading branch information...
1 parent 5854be2 commit 386a24d7945b900da314354a538b1b3155854bec @dmonllao dmonllao committed with nebgor Aug 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/tool/assignmentupgrade/module.js
@@ -42,8 +42,8 @@ M.tool_assignmentupgrade = {
}
});
- var batchform = Y.one('.tool_assignmentupgrade_batchform form');
- batchform.on('submit', function(e) {
+ var upgradeselectedbutton = Y.one('#id_upgradeselected');
+ upgradeselectedbutton.on('click', function(e) {
checkboxes = Y.all('td.c0 input');
var selectedassignments = [];
checkboxes.each(function(node) {

0 comments on commit 386a24d

Please sign in to comment.