You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Oliver Strässer (JIRA)" <ji...@apache.org> on 2009/12/15 09:08:18 UTC

[jira] Created: (CLEREZZA-30) AlertMessage

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.


[jira] Assigned: (CLEREZZA-30) AlertMessage

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reassigned CLEREZZA-30:
------------------------------------------

    Assignee: Reto Bachmann-Gmür

> 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
>            Assignee: Reto Bachmann-Gmür
>
> 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.


[jira] Closed: (CLEREZZA-30) AlertMessage

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-30.
--------------------------------------

    Resolution: Fixed

> 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
>            Assignee: Reto Bachmann-Gmür
>
> 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.