mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Merge pull request #3944 from alchemy-fr/PHRAS-3626-fix-z-index
PHRAS- 3626 merge Prod - detailed view - Print, Export windows appear behind the detailed view (zindex)
This commit is contained in:
@@ -13,5 +13,5 @@ module.exports = {
|
|||||||
setupDir: _root + 'tests/setup/node.js',
|
setupDir: _root + 'tests/setup/node.js',
|
||||||
karmaConf: _root + 'config/karma.conf.js',
|
karmaConf: _root + 'config/karma.conf.js',
|
||||||
// change this version when you change JS file for lazy loading
|
// change this version when you change JS file for lazy loading
|
||||||
assetFileVersion: 36
|
assetFileVersion: 37
|
||||||
};
|
};
|
||||||
|
@@ -96,7 +96,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||||||
/******/ if (__webpack_require__.nc) {
|
/******/ if (__webpack_require__.nc) {
|
||||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".js?v=36";
|
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".js?v=37";
|
||||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||||
/******/ script.onerror = script.onload = onScriptComplete;
|
/******/ script.onerror = script.onload = onScriptComplete;
|
||||||
/******/ function onScriptComplete() {
|
/******/ function onScriptComplete() {
|
||||||
|
@@ -96,7 +96,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||||||
/******/ if (__webpack_require__.nc) {
|
/******/ if (__webpack_require__.nc) {
|
||||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".min.js?v=36";
|
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".min.js?v=37";
|
||||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||||
/******/ script.onerror = script.onload = onScriptComplete;
|
/******/ script.onerror = script.onload = onScriptComplete;
|
||||||
/******/ function onScriptComplete() {
|
/******/ function onScriptComplete() {
|
||||||
|
2
Phraseanet-production-client/dist/commons.js
vendored
2
Phraseanet-production-client/dist/commons.js
vendored
@@ -91,7 +91,7 @@
|
|||||||
/******/ if (__webpack_require__.nc) {
|
/******/ if (__webpack_require__.nc) {
|
||||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".js?v=36";
|
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".js?v=37";
|
||||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||||
/******/ script.onerror = script.onload = onScriptComplete;
|
/******/ script.onerror = script.onload = onScriptComplete;
|
||||||
/******/ function onScriptComplete() {
|
/******/ function onScriptComplete() {
|
||||||
|
@@ -91,7 +91,7 @@
|
|||||||
/******/ if (__webpack_require__.nc) {
|
/******/ if (__webpack_require__.nc) {
|
||||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".min.js?v=36";
|
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".min.js?v=37";
|
||||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||||
/******/ script.onerror = script.onload = onScriptComplete;
|
/******/ script.onerror = script.onload = onScriptComplete;
|
||||||
/******/ function onScriptComplete() {
|
/******/ function onScriptComplete() {
|
||||||
|
@@ -19299,6 +19299,7 @@ var notifyLayout = function notifyLayout(services) {
|
|||||||
$notificationDialog.dialog('close');
|
$notificationDialog.dialog('close');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var zIndexOverlay = (0, _jquery2.default)('.ui-widget-overlay').css("z-index");
|
||||||
// open the dlg (even if it is already opened when "load more")
|
// open the dlg (even if it is already opened when "load more")
|
||||||
//
|
//
|
||||||
$notificationDialog.dialog({
|
$notificationDialog.dialog({
|
||||||
@@ -19310,11 +19311,16 @@ var notifyLayout = function notifyLayout(services) {
|
|||||||
modal: true,
|
modal: true,
|
||||||
width: 500,
|
width: 500,
|
||||||
height: 400,
|
height: 400,
|
||||||
|
dialogClass: "dialog-notification-box",
|
||||||
overlay: {
|
overlay: {
|
||||||
backgroundColor: '#000',
|
backgroundColor: '#000',
|
||||||
opacity: 0.7
|
opacity: 0.7
|
||||||
},
|
},
|
||||||
|
open: function open() {
|
||||||
|
(0, _jquery2.default)('.ui-widget-overlay').css("z-index", (0, _jquery2.default)(".dialog-notification-box").css("z-index"));
|
||||||
|
},
|
||||||
close: function close(event, ui) {
|
close: function close(event, ui) {
|
||||||
|
(0, _jquery2.default)('.ui-widget-overlay').css("z-index", zIndexOverlay);
|
||||||
// destroy so it will be "fresh" on next open (scrollbar on top)
|
// destroy so it will be "fresh" on next open (scrollbar on top)
|
||||||
$notificationDialog.dialog('destroy').remove();
|
$notificationDialog.dialog('destroy').remove();
|
||||||
}
|
}
|
||||||
@@ -51110,7 +51116,6 @@ var geonameDatasource = function geonameDatasource(services) {
|
|||||||
height: "auto",
|
height: "auto",
|
||||||
width: 400,
|
width: 400,
|
||||||
modal: true,
|
modal: true,
|
||||||
dialogClass: "dialog-edit_lat_lon",
|
|
||||||
buttons: {
|
buttons: {
|
||||||
confirmYes: function confirmYes() {
|
confirmYes: function confirmYes() {
|
||||||
(0, _jquery2.default)(this).dialog("close");
|
(0, _jquery2.default)(this).dialog("close");
|
||||||
|
@@ -19299,6 +19299,7 @@ var notifyLayout = function notifyLayout(services) {
|
|||||||
$notificationDialog.dialog('close');
|
$notificationDialog.dialog('close');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var zIndexOverlay = (0, _jquery2.default)('.ui-widget-overlay').css("z-index");
|
||||||
// open the dlg (even if it is already opened when "load more")
|
// open the dlg (even if it is already opened when "load more")
|
||||||
//
|
//
|
||||||
$notificationDialog.dialog({
|
$notificationDialog.dialog({
|
||||||
@@ -19310,11 +19311,16 @@ var notifyLayout = function notifyLayout(services) {
|
|||||||
modal: true,
|
modal: true,
|
||||||
width: 500,
|
width: 500,
|
||||||
height: 400,
|
height: 400,
|
||||||
|
dialogClass: "dialog-notification-box",
|
||||||
overlay: {
|
overlay: {
|
||||||
backgroundColor: '#000',
|
backgroundColor: '#000',
|
||||||
opacity: 0.7
|
opacity: 0.7
|
||||||
},
|
},
|
||||||
|
open: function open() {
|
||||||
|
(0, _jquery2.default)('.ui-widget-overlay').css("z-index", (0, _jquery2.default)(".dialog-notification-box").css("z-index"));
|
||||||
|
},
|
||||||
close: function close(event, ui) {
|
close: function close(event, ui) {
|
||||||
|
(0, _jquery2.default)('.ui-widget-overlay').css("z-index", zIndexOverlay);
|
||||||
// destroy so it will be "fresh" on next open (scrollbar on top)
|
// destroy so it will be "fresh" on next open (scrollbar on top)
|
||||||
$notificationDialog.dialog('destroy').remove();
|
$notificationDialog.dialog('destroy').remove();
|
||||||
}
|
}
|
||||||
@@ -51110,7 +51116,6 @@ var geonameDatasource = function geonameDatasource(services) {
|
|||||||
height: "auto",
|
height: "auto",
|
||||||
width: 400,
|
width: 400,
|
||||||
modal: true,
|
modal: true,
|
||||||
dialogClass: "dialog-edit_lat_lon",
|
|
||||||
buttons: {
|
buttons: {
|
||||||
confirmYes: function confirmYes() {
|
confirmYes: function confirmYes() {
|
||||||
(0, _jquery2.default)(this).dialog("close");
|
(0, _jquery2.default)(this).dialog("close");
|
||||||
|
@@ -3430,8 +3430,8 @@ h3.metadatas-title:after {
|
|||||||
z-index: 1999;
|
z-index: 1999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog.ui-widget-content.dialog-edit_lat_lon {
|
.ui-dialog.ui-widget-content.dialog-notification-box {
|
||||||
z-index: 2000 !important;
|
z-index: 1199 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog-titlebar {
|
.ui-dialog-titlebar {
|
||||||
@@ -8854,7 +8854,7 @@ TABLE.explain3 TR TD {
|
|||||||
|
|
||||||
#PREVIEWBOX,
|
#PREVIEWBOX,
|
||||||
#EDITWINDOW {
|
#EDITWINDOW {
|
||||||
z-index: 2000;
|
z-index: 1200;
|
||||||
background-color: #1a1a1a;
|
background-color: #1a1a1a;
|
||||||
display: none;
|
display: none;
|
||||||
border: 1px solid #7f7f7f;
|
border: 1px solid #7f7f7f;
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -3445,8 +3445,8 @@ h3.metadatas-title:after {
|
|||||||
z-index: 1999;
|
z-index: 1999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog.ui-widget-content.dialog-edit_lat_lon {
|
.ui-dialog.ui-widget-content.dialog-notification-box {
|
||||||
z-index: 2000 !important;
|
z-index: 1199 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog-titlebar {
|
.ui-dialog-titlebar {
|
||||||
@@ -8869,7 +8869,7 @@ TABLE.explain3 TR TD {
|
|||||||
|
|
||||||
#PREVIEWBOX,
|
#PREVIEWBOX,
|
||||||
#EDITWINDOW {
|
#EDITWINDOW {
|
||||||
z-index: 2000;
|
z-index: 1200;
|
||||||
background-color: #d9d9d9;
|
background-color: #d9d9d9;
|
||||||
display: none;
|
display: none;
|
||||||
border: 1px solid silver;
|
border: 1px solid silver;
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -3447,8 +3447,8 @@ h3.metadatas-title:after {
|
|||||||
z-index: 1999;
|
z-index: 1999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog.ui-widget-content.dialog-edit_lat_lon {
|
.ui-dialog.ui-widget-content.dialog-notification-box {
|
||||||
z-index: 2000 !important;
|
z-index: 1199 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog-titlebar {
|
.ui-dialog-titlebar {
|
||||||
@@ -8871,7 +8871,7 @@ TABLE.explain3 TR TD {
|
|||||||
|
|
||||||
#PREVIEWBOX,
|
#PREVIEWBOX,
|
||||||
#EDITWINDOW {
|
#EDITWINDOW {
|
||||||
z-index: 2000;
|
z-index: 1200;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
display: none;
|
display: none;
|
||||||
border: 1px solid #bfbfbf;
|
border: 1px solid #bfbfbf;
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -103,6 +103,7 @@ const notifyLayout = (services) => {
|
|||||||
$notificationDialog.dialog('close');
|
$notificationDialog.dialog('close');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let zIndexOverlay = $('.ui-widget-overlay').css("z-index");
|
||||||
// open the dlg (even if it is already opened when "load more")
|
// open the dlg (even if it is already opened when "load more")
|
||||||
//
|
//
|
||||||
$notificationDialog
|
$notificationDialog
|
||||||
@@ -116,11 +117,16 @@ const notifyLayout = (services) => {
|
|||||||
modal: true,
|
modal: true,
|
||||||
width: 500,
|
width: 500,
|
||||||
height: 400,
|
height: 400,
|
||||||
|
dialogClass: "dialog-notification-box",
|
||||||
overlay: {
|
overlay: {
|
||||||
backgroundColor: '#000',
|
backgroundColor: '#000',
|
||||||
opacity: 0.7
|
opacity: 0.7
|
||||||
},
|
},
|
||||||
|
open: function () {
|
||||||
|
$('.ui-widget-overlay').css("z-index", $(".dialog-notification-box").css("z-index"));
|
||||||
|
},
|
||||||
close: function (event, ui) {
|
close: function (event, ui) {
|
||||||
|
$('.ui-widget-overlay').css("z-index", zIndexOverlay);
|
||||||
// destroy so it will be "fresh" on next open (scrollbar on top)
|
// destroy so it will be "fresh" on next open (scrollbar on top)
|
||||||
$notificationDialog.dialog('destroy').remove();
|
$notificationDialog.dialog('destroy').remove();
|
||||||
}
|
}
|
||||||
|
@@ -128,7 +128,6 @@ const geonameDatasource = (services) => {
|
|||||||
height: "auto",
|
height: "auto",
|
||||||
width: 400,
|
width: 400,
|
||||||
modal: true,
|
modal: true,
|
||||||
dialogClass: "dialog-edit_lat_lon",
|
|
||||||
buttons: {
|
buttons: {
|
||||||
confirmYes : function () {
|
confirmYes : function () {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
|
@@ -233,8 +233,9 @@ $basketBg: $darkBackgroundColor !default;
|
|||||||
z-index: 1999;
|
z-index: 1999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog.ui-widget-content.dialog-edit_lat_lon {
|
.ui-dialog.ui-widget-content.dialog-notification-box {
|
||||||
z-index: 2000 !important;
|
// just less than the PREVIEWBOX and the EDITWINDOW z-index
|
||||||
|
z-index: 1199 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-dialog-titlebar {
|
.ui-dialog-titlebar {
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#PREVIEWBOX,
|
#PREVIEWBOX,
|
||||||
#EDITWINDOW {
|
#EDITWINDOW {
|
||||||
z-index: 2000; // just enough uppur than a dialog z-index
|
z-index: 1200;
|
||||||
background-color: $modalBackground;
|
background-color: $modalBackground;
|
||||||
display: none;
|
display: none;
|
||||||
border: $modalBorder; //1px solid $darkerBorderColor;
|
border: $modalBorder; //1px solid $darkerBorderColor;
|
||||||
|
@@ -59,7 +59,7 @@ class PhraseanetExtension extends \Twig_Extension
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
// change this version when you change JS file to force the navigation to reload js file
|
// change this version when you change JS file to force the navigation to reload js file
|
||||||
'assetFileVersion' => 36
|
'assetFileVersion' => 37
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user