incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Strässer (JIRA) <j...@apache.org>
Subject [jira] Created: (CLEREZZA-30) AlertMessage
Date Tue, 15 Dec 2009 08:08:18 GMT
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.


Mime
View raw message