[extensions-web/bugfix/v40-frontend-versionscheme: 1/2] js: main: fix usage of server response
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web/bugfix/v40-frontend-versionscheme: 1/2] js: main: fix usage of server response
- Date: Sat, 27 Feb 2021 07:58:13 +0000 (UTC)
commit 24cf1b3e590d26e02f78c99540f711a2a0ae40b8
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sat Feb 27 11:57:06 2021 +0400
js: main: fix usage of server response
sweettooth/static/js/main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/sweettooth/static/js/main.js b/sweettooth/static/js/main.js
index 290cfed0..94b156d6 100644
--- a/sweettooth/static/js/main.js
+++ b/sweettooth/static/js/main.js
@@ -192,7 +192,7 @@ function($, messages, modal, hashParamUtils, commentsTemplate, staticfiles, cook
});
req.done(function(data) {
- $ext.data('svm', data.svm);
+ $ext.data('svm', JSON.parse(data.svm));
$('#extension_shell_versions_info').buildShellVersionsInfo();
$tr.find('.mvs').html(data.mvs);
$tr.find('.extension_status_toggle').toggleClass('visible');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]