[chrome-gnome-shell] Added "dataType" attribute to ajax request as requested by Opera moderator.



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]