AlertMessage
------------

                 Key: CLEREZZA-30
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-30
             Project: Clerezza
          Issue Type: Bug
         Environment: JavaScript Functions in Scala
            Reporter: Oliver Strässer


The first Parameter if an AlertMessage is a Function. It must be ok to set this 
Parameter to null, so that you don*t need to write: 


        if(typeof(callback) != "function" ){
            callback = function (){};
        }

AlertMessage.show(callback, email +  "isn't a correct email format", "OK");

I use my own Callbackfunctions in my Libary and i don't every time callback 
functions

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to