[Bug 687] New: helma.Html.isSelected() method fails with array as last argument

View: New views
4 Messages — Rating Filter:   Alert me  

[Bug 687] New: helma.Html.isSelected() method fails with array as last argument

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=687

           Summary: helma.Html.isSelected() method fails with array as
                    last argument
           Product: Helma
           Version: CVS trunk
          Platform: Other
               URL: https://dev.helma.org/trac/helma/browser/apps/modules/
                    trunk/helma/Html.js#L92
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: helmaLib, helmaTools
        AssignedTo: helma-dev@...
        ReportedBy: interface@...


The following call throws a TypeError: Cannot find function contains in object
1,2,3. (helma/modules/helma/Html.js#92)

   helma.Html.isSelected(1, [1,2,3])

Including the Array.js module – by adding the line
app.addRepository('modules/core/Array.js') to Html.js – fixes this issue.

As this is such a tiny change I will commit it to SVN right after filing this
bug for the record.

--
[1]
https://dev.helma.org/trac/helma/browser/apps/modules/trunk/helma/Html.js#L92

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

[Bug 687] helma.Html.isSelected() method fails with array as last argument

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=687





--- Comment #1 from tobi <interface@...>  2009-10-27 19:28:31 ---
Apparently, I forgot my user credentials for committing to Helma’s SVN or I
don’t have any write permissions anymore. Thus, I leave the bug open.

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

[Bug 687] helma.Html.isSelected() method fails with array as last argument

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=687


tobi <interface@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.7.0




--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

[Bug 687] helma.Html.isSelected() method fails with array as last argument

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://dev.helma.org/bugs/show_bug.cgi?id=687


Hannes Wallnoefer <hannes@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hannes@...
         Resolution|                            |FIXED




--- Comment #2 from Hannes Wallnoefer <hannes@...>  2009-11-04 12:13:21 ---
Fixed in svn

--
Configure bugmail: http://dev.helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev