diff --git a/extensions/wallet/cookieviewer/resources/content/CookieViewer.js b/extensions/wallet/cookieviewer/resources/content/CookieViewer.js index cb208f1f992..c94620601cf 100644 --- a/extensions/wallet/cookieviewer/resources/content/CookieViewer.js +++ b/extensions/wallet/cookieviewer/resources/content/CookieViewer.js @@ -347,7 +347,7 @@ function DeletePermissionSelected() function DeleteAllPermissions() { // delete selected item - gone_p += DeleteAllItems(permissions.length, "permtree_", "permissionlist"); + gone_p += DeleteAllItems(permissions.length, "permtree_", "permissionslist"); if( !document.getElementById("removePermissions").disabled ) { document.getElementById("removePermissions").setAttribute("disabled", "true") } @@ -439,7 +439,8 @@ function DeleteAllImages() { // function : ::doOKButton(); // purpose : saves the changed settings and closes the dialog. function onOK(){ - var result = "|goneC|" + gone_c + "|goneP|" + gone_p + "|goneI|" + gone_i+ "|"; + var result = "|goneC|" + gone_c + "|goneP|" + gone_p + "|goneI|" + gone_i + + "|block|" + document.getElementById("checkbox").checked +"|"; cookieviewer.SetValue(result, window); return true; } diff --git a/xpfe/components/permissions/content/cookieViewer.js b/xpfe/components/permissions/content/cookieViewer.js index cb208f1f992..c94620601cf 100644 --- a/xpfe/components/permissions/content/cookieViewer.js +++ b/xpfe/components/permissions/content/cookieViewer.js @@ -347,7 +347,7 @@ function DeletePermissionSelected() function DeleteAllPermissions() { // delete selected item - gone_p += DeleteAllItems(permissions.length, "permtree_", "permissionlist"); + gone_p += DeleteAllItems(permissions.length, "permtree_", "permissionslist"); if( !document.getElementById("removePermissions").disabled ) { document.getElementById("removePermissions").setAttribute("disabled", "true") } @@ -439,7 +439,8 @@ function DeleteAllImages() { // function : ::doOKButton(); // purpose : saves the changed settings and closes the dialog. function onOK(){ - var result = "|goneC|" + gone_c + "|goneP|" + gone_p + "|goneI|" + gone_i+ "|"; + var result = "|goneC|" + gone_c + "|goneP|" + gone_p + "|goneI|" + gone_i + + "|block|" + document.getElementById("checkbox").checked +"|"; cookieviewer.SetValue(result, window); return true; }