 
       $blockForm.on "ajax:success", (evnt, data, textStatus, jqXHR) ->
         restoreViewState $(@).closest(".vtrg-edit-wrapper"), data
+        event_provider.trigger "vitrageupdated"
       # $blockForm.on "ajax:error"
       # $blockForm.on "ajax:complete"
 

        $editWrapper.removeClass "editmode"
        $editWrapper.children(".vtrg-edit-body").html viewdata
        toggleEditorBlocker $editWrapper, false
      else
        $.ajax
          url: "/vitrage/pieces/" + $editWrapper.data("id")

            dataType: "html"
            success: (data, textStatus, jqXHR) ->
              $editWrapper.remove()
              event_provider.trigger "vitragedestroyed"
            # error: null
        return
      return
