public/javascripts/inputex/build/inputex.js
function(e,square,container) {
		
		// Stop the event to prevent a selection
		Event.stopEvent(e);
	   
	   // Overlay closure
      this.oOverlay.hide();
       
	   // SetValue
		var color = Dom.getStyle(square,'background-color');
		var hexaColor = inputEx.ColorField.ensureHexa(color);
		
	   this.setValue(hexaColor);
	}
function(e,square,container) {
		
		// Stop the event to prevent a selection
		Event.stopEvent(e);
	   
	   // Overlay closure
      this.oOverlay.hide();
       
	   // SetValue
		var color = Dom.getStyle(square,'background-color');
		var hexaColor = inputEx.ColorField.ensureHexa(color);
		
	   this.setValue(hexaColor);
	}
function ( e , square , container ) { // Stop the event to prevent a selection Event . stopEvent ( e ) ; // Overlay closure this . oOverlay . hide ( ) ; // SetValue var color = Dom . getStyle ( square , 'background-color' ) ; var hexaColor = inputEx . ColorField . ensureHexa ( color ) ; this . setValue ( hexaColor ) ; }
Handle a color selection
@param {Event} e The original click event
Handle a color selection