mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Accidentally redirected opinion management to POST instead of POST ajax.
This commit is contained in:
parent
da1bb81cd2
commit
ac2f7e567a
1 changed files with 5 additions and 12 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue