Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Resources/js/models/WindowManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ function openWindow (windowKey, portlet, parameters) {
var callback;

//Make sure the requested window exists, and that it isn't the current window.
if (!applicationWindows[windowKey] || exports.getCurrentWindow() === windowKey) return Ti.API.error("Error opening window. windowKey: "+windowKey);
if (!applicationWindows[windowKey]) { // || exports.getCurrentWindow() === windowKey
return Ti.API.error("Error opening window. windowKey: "+windowKey);
}

var _newWindowEvent = {
key: windowKey
Expand Down