summaryrefslogtreecommitdiff
path: root/arduino_blog/static/admin/js/popup_response.js
diff options
context:
space:
mode:
authorprashantsinalkar2020-02-27 17:12:00 +0530
committerprashantsinalkar2020-02-27 17:12:00 +0530
commitbb1f7457f90f51a531bca2dfc3527432898b0b09 (patch)
tree2aafd4e11c5b81c26031c2c85b6a65a691b397cc /arduino_blog/static/admin/js/popup_response.js
parent3fb61ed2b017bfcc2fe663e15d21ff924ee750a6 (diff)
downloadarduino_projects_website-bb1f7457f90f51a531bca2dfc3527432898b0b09.tar.gz
arduino_projects_website-bb1f7457f90f51a531bca2dfc3527432898b0b09.tar.bz2
arduino_projects_website-bb1f7457f90f51a531bca2dfc3527432898b0b09.zip
updated ui and fixed code
Diffstat (limited to 'arduino_blog/static/admin/js/popup_response.js')
l---------[-rw-r--r--]arduino_blog/static/admin/js/popup_response.js17
1 files changed, 1 insertions, 16 deletions
diff --git a/arduino_blog/static/admin/js/popup_response.js b/arduino_blog/static/admin/js/popup_response.js
index b4a07e7..791e38f 100644..120000
--- a/arduino_blog/static/admin/js/popup_response.js
+++ b/arduino_blog/static/admin/js/popup_response.js
@@ -1,16 +1 @@
-/*global opener */
-(function() {
- 'use strict';
- var initData = JSON.parse(document.getElementById('django-admin-popup-response-constants').dataset.popupResponse);
- switch(initData.action) {
- case 'change':
- opener.dismissChangeRelatedObjectPopup(window, initData.value, initData.obj, initData.new_value);
- break;
- case 'delete':
- opener.dismissDeleteRelatedObjectPopup(window, initData.value);
- break;
- default:
- opener.dismissAddRelatedObjectPopup(window, initData.value, initData.obj);
- break;
- }
-})();
+/home/prashant/www/html/python/python_3.x/arduino-hosting/env-arduino/lib/python3.6/site-packages/django/contrib/admin/static/admin/js/popup_response.js \ No newline at end of file