﻿Element.Events.keyenter = {
	base: 'keyup',
	condition: function(e)
	{
		return e.key == 'enter';
	}
};

var UIElement = new Class(
{
	initialize : function()
	{

	},

	initControl : function(dialogID, controlID, tag)
	{
		var control = ui.getNestedControl(dialogID, controlID);

		if (control == null)
		{
			return;
		}

		control["tag"] = base64Json.decode(tag);
	}
});

var uiElement = new UIElement();
