when I click at 'Ignorar Tempo' labeled button, all goes fine, but when i click at 'Utilizar Tempo' button, an error occurs, but inside error variable, I have undefined value.
Obs:
this occurs with any button at the first position in the buttons array, provided in the options object.
I think it occurs, because the first position is 0, a falsy value and therefore we have this error on if clause.
Can you fix it? (just change if clause to if (result != 0 && !result) and it will be done)
Hi guys, I'm using Electangular and that's great, but, I tried to show a messagebox from angular, using this code:
when I click at 'Ignorar Tempo' labeled button, all goes fine, but when i click at 'Utilizar Tempo' button, an error occurs, but inside error variable, I have undefined value.
Obs: this occurs with any button at the first position in the buttons array, provided in the options object. I think it occurs, because the first position is 0, a falsy value and therefore we have this error on if clause.
Can you fix it? (just change if clause to
if (result != 0 && !result)
and it will be done)