text: var STEP_DISPLAY_ID="stepDisplay",WIZARD_NAV_ID="wizardNav",FRAME_ID="frame",VALUE_ID_PATTERN="#value",LABEL_ID_PATTERN="#labelID",ADD_PATTERN="#add",REMOVE_PATTERN="#remove",CONTROLS_PATTERN="#controls",addListOfValues={flowExecutionKey:"",messages:[],initialize:function(){this._stepDisplay=$(STEP_DISPLAY_ID),this._wizardNav=$(WIZARD_NAV_ID),this.initEvents()},initEvents:function(){$(FRAME_ID).observe("click",function(e){var t=e.element();if(matchAny(t,[ADD_PATTERN])&&($("ar").writeAttribute("name","_eventId_addItem"),$("extra").submit()),"A"==t.nodeName&&"add"!=t.identify()){var a=t.identify();$("itemToDelete").setValue(a),$("ar").writeAttribute("name","_eventId_removeItem"),$("extra").submit()}}.bindAsEventListener(this)),$(FRAME_ID).observe("keyup",function(e){var t=e.element();matchAny(t,[VALUE_ID_PATTERN,LABEL_ID_PATTERN])&&this.allowSubmit()}.bindAsEventListener(this))},allowSubmit:function(){$("labelID").getValue().blank()?(buttonManager.disable("save"),$("save").writeAttribute(layoutModule.DISABLED_ATTR_NAME,layoutModule.DISABLED_ATTR_NAME)):(buttonManager.enable("save"),$("save").writeAttribute(layoutModule.DISABLED_ATTR_NAME,null)),$("value").getValue().blank()?(buttonManager.disable("add"),$("add").writeAttribute(layoutModule.DISABLED_ATTR_NAME,layoutModule.DISABLED_ATTR_NAME)):(buttonManager.enable("add"),$("add").writeAttribute(layoutModule.DISABLED_ATTR_NAME,null))}};"undefined"==typeof require&&document.observe("dom:loaded",function(){addListOfValues.initialize(),addListOfValues.allowSubmit()}),define("addinputcontrol.queryextra",["prototype","utils.common","core.events.bis","core.layout"],function(e){return function(){var t;return t||e.addListOfValues}}(this)),define("addResource/inputControls/addInputControlQueryInformationMain",["require","!domReady","addinputcontrol.queryextra"],function(e){"use strict";var t=e("!domReady"),a=e("addinputcontrol.queryextra");t(function(){a.initialize(),a.allowSubmit()})});