(function()
{
	var FLD = Craft.FieldLayoutDesigner;
	var FLDinit = FLD.prototype.init;

	/**
	 * Override the current FieldLayoutDesigner "constructor" so new buttons can be initialised.
	 */
	FLD.prototype.init = function()
	{
		FLDinit.apply(this, arguments);

		if(this.$container.is('#fieldlayoutform'))
		{
			new QuickField(this);
		}
	};

})();

(function()
{
	var FLD = Craft.FieldLayoutDesigner;
	var FLDinit = FLD.prototype.init;

	/**
	 * Override the current FieldLayoutDesigner "constructor" so new buttons can be initialised.
	 */
	FLD.prototype.init = function()
	{
		FLDinit.apply(this, arguments);

		if(this.$container.is('#fieldlayoutform') || this.$container.is('.quick-field'))
		{
			new QuickField(this);
		}
	};

})();

Allow initializing of plugin by other plugins
Allow initializing of plugin by other plugins
