mirror of
https://github.com/lingble/databunker.git
synced 2026-03-20 03:53:43 +00:00
cleanup popup contents
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
return result;
|
||||
}
|
||||
function displayDrillDownLink(rtoken, row, index) {
|
||||
console.log(row);
|
||||
//console.log(row);
|
||||
var links = '<a href=\'javascript:displayRequest(\"' + rtoken +
|
||||
'\");\'>view</a> | ';
|
||||
if (row["action"] == "forget-me") {
|
||||
@@ -117,7 +117,7 @@
|
||||
if (xhr0.status === 200) {
|
||||
var data = JSON.parse(xhr0.responseText);
|
||||
if (data.status == "ok") {
|
||||
console.log("aaaa", data)
|
||||
//console.log("aaaa", data)
|
||||
var d = JSON.stringify(data, null, 4);
|
||||
setTimeout(function () {
|
||||
if (data["original"] && data["change"]) {
|
||||
@@ -164,14 +164,13 @@
|
||||
'</a>' +
|
||||
'</div>' +
|
||||
'</div></div></div>');
|
||||
|
||||
modalPopup.find('#okButton').click(function (event) {
|
||||
//callback();
|
||||
//cancelConsent(brief);
|
||||
modalPopup.modal('hide');
|
||||
});
|
||||
|
||||
modalPopup.modal('show');
|
||||
modalPopup.on('hidden.bs.modal', function() {
|
||||
$('#drilldown').html(null);
|
||||
});
|
||||
}
|
||||
|
||||
$(function () {
|
||||
|
||||
@@ -127,14 +127,13 @@
|
||||
'</a>' +
|
||||
'</div>' +
|
||||
'</div></div></div>');
|
||||
|
||||
confirmModal.find('#okButton').click(function (event) {
|
||||
//callback();
|
||||
//cancelConsent(brief);
|
||||
confirmModal.modal('hide');
|
||||
});
|
||||
|
||||
confirmModal.modal('show');
|
||||
confirmModal.on('hidden.bs.modal', function() {
|
||||
$('#drilldown').html(null);
|
||||
});
|
||||
}
|
||||
|
||||
$(function () {
|
||||
|
||||
@@ -140,14 +140,13 @@
|
||||
'</a>' +
|
||||
'</div>' +
|
||||
'</div></div></div>');
|
||||
|
||||
modalPopup.find('#okButton').click(function (event) {
|
||||
//callback();
|
||||
//cancelConsent(brief);
|
||||
modalPopup.modal('hide');
|
||||
});
|
||||
|
||||
modalPopup.modal('show');
|
||||
modalPopup.on('hidden.bs.modal', function() {
|
||||
$('#drilldown').html(null);
|
||||
});
|
||||
}
|
||||
|
||||
$(function () {
|
||||
|
||||
Reference in New Issue
Block a user