Ignore:
Timestamp:
Mar 16, 2011, 1:45:47 AM (13 years ago)
Author:
patdenice
Message:

Add pwg_token to ajax request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/autoupdate/trunk/template/autoupdate.js

    r9721 r9723  
    1515  jQuery.post(
    1616    "plugins/autoupdate/ajax/ignore_list.php",
    17     { reset: true },
     17    { reset: true, pwg_token: pwg_token },
    1818    function(data) {
    1919      if (data == "ok") {
     
    6060    type: 'POST',
    6161    url: 'plugins/autoupdate/ajax/update_'+type+'.php',
    62     data: { id: id, revision: revision },
     62    data: { id: id, revision: revision, pwg_token: pwg_token },
    6363    success: function(data) {
    6464      if (data['result']) {
     
    109109  jQuery.post(
    110110    "plugins/autoupdate/ajax/ignore_list.php",
    111     { type: type+'s', id: id },
     111    { type: type+'s', id: id, pwg_token: pwg_token },
    112112    function(data) {
    113113      if (data == "ok") {
Note: See TracChangeset for help on using the changeset viewer.