[chrome-gnome-shell] Added "dataType" attribute to ajax request as requested by Opera moderator.
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chrome-gnome-shell] Added "dataType" attribute to ajax request as requested by Opera moderator.
- Date: Thu, 18 Aug 2016 10:51:53 +0000 (UTC)
commit dc14a7f4c7d9be6ae1b96cd4d0c21b89fd779aac
Author: Yuri Konotopov <ykonotopov gmail com>
Date: Thu Aug 18 13:51:39 2016 +0300
Added "dataType" attribute to ajax request as requested by Opera moderator.
extension/include/update.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/extension/include/update.js b/extension/include/update.js
index 179f988..b0473c0 100644
--- a/extension/include/update.js
+++ b/extension/include/update.js
@@ -67,6 +67,7 @@ GSC.update = (function($) {
$.ajax({
url: UPDATE_URL,
data: request,
+ dataType: 'json',
method: 'GET',
cache: false
}).done(function (data, textStatus, jqXHR) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]