ENYO-3762: minor refactoring of the function "enableOkButton()" by warping each steps into an inner function.
ENYO-3762: minor refactoring of the function "enableOkButton()" by warping each steps into an inner function.

enyojs/ares-project,enyojs/ares-project,mcanthony/ares-project,mcanthony/ares-project,mcanthony/ares-project,mcanthony/ares-project,enyojs/ares-project,enyojs/ares-project,mcanthony/ares-project,mcanthony/ares-project,enyojs/ares-project