petermichaux / maria

The MVC framework for JavaScript applications. The real MVC. The Smalltalk MVC. The Gang of Four MVC.
BSD 2-Clause "Simplified" License
764 stars 51 forks source link

uiActions not working in chrome mac ... #38

Closed jamesladd closed 11 years ago

jamesladd commented 11 years ago

I have the following:

uiActions: { 'click .create-open' : 'onClickCreateOpen', 'click .create-close' : 'onClickCreateClose', 'click .save' : 'onSave', 'click #inputOccursAtYear' : 'onYearSelected', 'click #inputOccursAtMonth' : 'onMonthSelected', 'focus #inputName' : 'onNameInput', 'blur #inputName' : 'onNameInput', 'keyup #inputName' : 'onNameInput', 'keypress #inputName' : 'onNameInput' },

All works fine on Chrome on Linux (Ubuntu) and Firefox (Ubuntu) and Mac Firefox.

However - the controller method is not called for click events on select lists under Chrome on the Mac (Chrome V26).

Please could this be fixed?

petermichaux commented 11 years ago

Perhaps you want to be using change events on the select element?

jamesladd commented 11 years ago

Testing.

jamesladd commented 11 years ago

PICNIM

Problem In Coder Not In Maria ;)

petermichaux commented 11 years ago

Glad it is fixed.