Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andreas Jansson 1 post 71 karma points
    Aug 22, 2016 @ 08:49
    Andreas Jansson
    0

    Grid edit stops working after canceling unpublish event

    Hi there,

    i´m having a problem with canceling the unpublish event in the backoffice. For example:

    // Register event
    ContentService.UnPublishing += LinkTrackingEventHandler.ContentService_UnPublishing;
    
    // Method
    public static void ContentService_UnPublishing(Umbraco.Core.Publishing.IPublishingStrategy sender, Umbraco.Core.Events.PublishEventArgs<IContent> e)
        {
            e.Cancel = true;
        }
    

    When i try to unpublish a page with the above code, the grid editors stops working. Nothing happens when you click on them (the edit content screen should slide in from the right).

    I´m using Umbraco 7.3.1, is this a known bug or am i missing something? I get no error messages in the web inspector or anywhere else.

    Thank you for your help

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies