Accidentally redirected opinion management to POST instead of POST ajax.

This commit is contained in:
Samuel Clay 2010-08-01 23:59:22 -04:00
parent da1bb81cd2
commit ac2f7e567a

View file

@ -81,8 +81,6 @@ var classifier = {
this.handle_cancel();
this.handle_select_title();
this.open_modal();
this.$modal.bind('submit.reader_classifer', $.rescope(this.handle_submit, this));
},
runner_story: function() {
@ -253,7 +251,11 @@ var classifier = {
' or ',
$.make('a', { href: '#', className: 'NB-modal-cancel' }, 'cancel')
]))
])
]).bind('submit', function(e) {
e.preventDefault();
self.save_publisher();
return false;
})
]);
},
@ -610,15 +612,6 @@ var classifier = {
});
},
handle_submit: function(elem, e) {
var self = this;
$.targetIs(e, { tagSelector: '.NB-modal-submit-save' }, function($t, $p){
e.preventDefault();
self.save_publisher();
});
},
handle_clicks: function(elem, e) {
var self = this;