Jump to content

página perde foco


fil79
 Share

Recommended Posts

Boas

Numa aplicação web que estou a desenvolver ao linkar para outras páginas dentro da própria aplicação, esta perde o foco se houver uma janela popup minimizada. Neste caso a janela popup maximiza e o a aplicação desaparece. A que se pode dever este problema?

Desde já agradeço

MCITP-MCTS-MCP

Link to comment
Share on other sites

Tenho um script que abre um date picker, creio que o problema estará aqui:

(function($){
var EYE = window.EYE = function() {
	var _registered = {
		init: []
	};
	return {
		init: function() {
			$.each(_registered.init, function(nr, fn){
				fn.call();
			});
		},
		extend: function(prop) {
			for (var i in prop) {
				if (prop[i] != undefined) {
					this[i] = prop[i];
				}
			}
		},
		register: function(fn, type) {
			if (!_registered[type]) {
				_registered[type] = [];
			}
			_registered[type].push(fn);
		}
	};
}();
$(EYE.init);
})(jQuery);

MCITP-MCTS-MCP

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.