Issue 483: Usage problem
Status:  New
Owner: ----
Reported by ste...@daman.dk, Jun 4, 2010
Hi

I have a very basic usage problem. $nyroModalManual is undefined.

This is part of a very large SharePoint page, that loads all kind of stuff.
This has worked but now stopped after some seemingly unrelated changes
(;->) but rolling them back does not change the behaviour :-<

Javascript looks like this and is called on click on a RadCalendar:

function OnDateClick(calendarInstance, args) {
    var cell = args.get_renderDay().DomElement;
    if (cell.content) 
    {
        $.nyroModalManual({
            bgColor: '#ece9d8',           
            content: cell.content,           
            closeButton: false,
            width: 300,
            height: null,
            minWidth: 0,
            minHeight: 0,
            modal:false
        });
     }

     args.set_cancel(true);  
}

function OnDateSelecting(calendarInstance, args) {
    args.set_cancel(true);
}



nyroModal version 1.4.2
jQuery version 1.3.2 (loaded twice on the page)
SharePoint 2007 all service packs, but this seems to be a client side issue.

IE "works" as expected except for failing when running the javascript.
Firefox does nothing, no errors but also no action.

What could be wrong?

Regards
Stefan
rendered.html
78.9 KB   View   Download