Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
Removed nonce check on AJAX, as it was incorrect with recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Moqume committed Oct 29, 2013
1 parent 349f22c commit 9cddd3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/js/functions.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if (typeof myatu_bgm === "undefined") {
async : has_callback,
data : { 'action': background_manager_ajax.action, 'func': ajaxFunc, 'data': ajaxData, '_ajax_nonce': background_manager_ajax.nonce },
success : function(ajaxResp) {
if (ajaxResp.nonce === background_manager_ajax.nonceresponse && ajaxResp.stat === 'ok') {
if (ajaxResp.stat === 'ok') {
resp = ajaxResp.data;

if (has_callback) {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/functions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9cddd3a

Please sign in to comment.