corrade-nucleus-nucleons
/base/000_base/js/wm/wm.js |
@@ -142,7 +142,14 @@ |
|
// Windows clicking brings to front. |
$(document).on('click', '.window-manager-window', function(event) { |
$(this).attr('z-index', getTopWindowIndex() + 1); |
//alert($(event.target).attr('z-index')); |
$(event.target).closest('.window-manager-window').css('z-index', getTopWindowIndex() + 1); |
//$(this).attr('z-index', getTopWindowIndex() + 1); |
//alert(JSON.stringify($(this), null, 4)); |
//alert("this: " + event.target.style.zIndex + " top: " + getTopWindowIndex()); |
//event.target.style.zIndex = getTopWindowIndex() + 1; |
//alert("this: " + event.target.style.zIndex + " top: " + getTopWindowIndex()); |
//event.stopPropagation(); |
}); |
|
function dragMoveListener (event) { |