diff options
Diffstat (limited to 'static/admin/js/popup_response.js')
l---------[-rw-r--r--] | static/admin/js/popup_response.js | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/static/admin/js/popup_response.js b/static/admin/js/popup_response.js index b4a07e7..adb2bc4 100644..120000 --- a/static/admin/js/popup_response.js +++ b/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/django_3.x/os-hardware/env-osh/lib/python3.6/site-packages/django/contrib/admin/static/admin/js/popup_response.js
\ No newline at end of file |