html/scripts/RGraph/RGraph.modaldialog.js
function (name)
        {
            for (var i=0; i<ModalDialog.events.length; ++i) {
                if (typeof(ModalDialog.events[i][0]) == 'string' && ModalDialog.events[i][0] == name && typeof(ModalDialog.events[i][1]) == 'function') {
                    ModalDialog.events[i][1]();
                }
            }
        }
function (name)
        {
            for (var i=0; i<ModalDialog.events.length; ++i) {
                if (typeof(ModalDialog.events[i][0]) == 'string' && ModalDialog.events[i][0] == name && typeof(ModalDialog.events[i][1]) == 'function') {
                    ModalDialog.events[i][1]();
                }
            }
        }
function ( name ) { for ( var i = 0 ; i < ModalDialog . events . length ; ++ i ) { if ( typeof ( ModalDialog . events [ i ] [ 0 ] ) == 'string' && ModalDialog . events [ i ] [ 0 ] == name && typeof ( ModalDialog . events [ i ] [ 1 ] ) == 'function' ) { ModalDialog . events [ i ] [ 1 ] ( ) ; } } }
Used to fire the ModalDialog custom event

@param object obj   The graph object that fires the event
@param string event The name of the event to fire
Used to fire the ModalDialog custom event