Skip to content

Commit

Permalink
raising re-attach client event (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcelreavey authored and acuthbert committed May 16, 2019
1 parent 0de7447 commit 5a072c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 1.4.10

* Update: When we re-attach a view bridge we now raise a client event of 'OnReattached'

### 1.4.9

* Fixed: Fixed issue where modifying ViewBridge.js (i.e. an inplace deployment) could cause AJAX to reload
Expand Down
1 change: 1 addition & 0 deletions src/Views/ViewBridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,7 @@ ViewBridge.prototype.reAttachViewBridges = function () {
viewNode.viewBridge = presenter;

presenter.onReattached();
this.raiseClientEvent("OnReattached");
presenter.onRegistered();
presenter.loadState();
presenter.attachDomChangeEventHandler();
Expand Down

0 comments on commit 5a072c9

Please sign in to comment.