none
Issue with Google Chrome and Firefox

    Question

  • Hi everyone, I'm working in Project Server 2010, and we add a javascript into Timesheet page to add some fuctionality to the timesheet gird, in IE works great but in Chrome and Firefox don't work. This is the issue we add this code on javascript using a reference to jquery

    /// <reference path="jquery-1.4.2.min.js" />

    (and also we change the jquery version to this and don't works)

    /// <reference path="jquery-1.10.2.min.js" />

    PJ.AddGridSatelliteInitializationNotifier
        (
            function (satellite) {

                if (PJ.TimesheetSatellite != null) {
                    satellite = PJ._NotifySatelliteInitComplete.arguments[0];
                    _satellite = satellite;

                    _grid = satellite.GetJsGridControlInstance();
                    _grid.AttachEvent(SP.JsGrid.EventType.OnPropertyChanged, OnPropertyChanged);

                   _grid.parentNode.onafterupdate = function () {
                       AddExtensionLinesAndColumns();
                    }
                }
            }
        );

    In IE when we debug the code when is finish of excute this code, fires the on after update handler of the grid, and runs every things else good, but when we debug in Chrome don't fire the on after update handler and I don't know why is not doing that, can somebody helps me.

    Thanks.


    .Net Developer and SharePoint programmer

    Tuesday, August 13, 2013 4:37 PM

All replies

  • Does your site use single sign-on?

    I would turn off pass-through credentials in IE to see if you got the same behavior.

    I'm not a programmer though so if that doesn't make sense ignore me.

    Tuesday, August 13, 2013 6:52 PM
  • Hi I did that, but don't works, in IE works fine, I do a little deep debug in Chrome on my page, and I found than the timesheet grid don't have the event of onafterupdate

    This is in Chrome.

    This is IE

    So I don't know if is because Chrome don't soport this event or is by Microsoft fault, or can anyone can tell me witch other can I use, if for execute a method, after the Timesheet Grid data is loaded.

    Thanks.


    .Net Developer and SharePoint programmer

    Tuesday, August 13, 2013 9:54 PM