Merge pull request #406 from m-bene/focusPopup

focus popup windows
This commit is contained in:
Andrew Bauer committed 2014-07-04 13:00:45 -05:00
commit c2e2a12995
2 files changed
+7

No files matched your search

+4
View File
@@ -146,6 +146,7 @@ function createPopup( url, name, tag, width, height )
if ( popupSize.height > 0 )
popupDimensions += ",height="+popupSize.height;
var popup = window.open( url, name, popupOptions+popupDimensions );
popup.focus();
}
function createEventPopup( eventId, eventFilter, width, height )
@@ -156,6 +157,7 @@ function createEventPopup( eventId, eventFilter, width, height )
var name = 'zmEvent';
var popupSize = getPopupSize( 'event', width, height );
var popup = window.open( url, name, popupOptions+",width="+popupSize.width+",height="+popupSize.height );
popup.focus();
}
function createFramesPopup( eventId, width, height )
@@ -164,6 +166,7 @@ function createFramesPopup( eventId, width, height )
var name = 'zmFrames';
var popupSize = getPopupSize( 'frames', width, height );
var popup = window.open( url, name, popupOptions+",width="+popupSize.width+",height="+popupSize.height );
popup.focus();
}
function createFramePopup( eventId, frameId, width, height )
@@ -172,6 +175,7 @@ function createFramePopup( eventId, frameId, width, height )
var name = 'zmFrame';
var popupSize = getPopupSize( 'frame', width, height );
var popup = window.open( url, name, popupOptions+",width="+popupSize.width+",height="+popupSize.height );
popup.focus();
}
function windowToFront()
+3
View File
@@ -157,6 +157,7 @@ function createEventPopup( eventId, eventFilter, width, height )
var name = 'zmEvent';
var popupSize = getPopupSize( 'event', width, height );
var popup = window.open( url, name, popupOptions+",width="+popupSize.width+",height="+popupSize.height );
popup.focus();
}
function createFramesPopup( eventId, width, height )
@@ -165,6 +166,7 @@ function createFramesPopup( eventId, width, height )
var name = 'zmFrames';
var popupSize = getPopupSize( 'frames', width, height );
var popup = window.open( url, name, popupOptions+",width="+popupSize.width+",height="+popupSize.height );
popup.focus();
}
function createFramePopup( eventId, frameId, width, height )
@@ -173,6 +175,7 @@ function createFramePopup( eventId, frameId, width, height )
var name = 'zmFrame';
var popupSize = getPopupSize( 'frame', width, height );
var popup = window.open( url, name, popupOptions+",width="+popupSize.width+",height="+popupSize.height );
popup.focus();
}
function windowToFront()