projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1302b0a
)
CRM-19432: Updated crmUiWizardStep destroy code so that it triggers off an event...
author
Tobias Lounsbury
<tobiaslounsbury@gmail.com>
Thu, 29 Sep 2016 19:26:30 +0000
(12:26 -0700)
committer
Tobias Lounsbury
<tobiaslounsbury@gmail.com>
Thu, 29 Sep 2016 19:26:30 +0000
(12:26 -0700)
ang/crmUi.js
patch
|
blob
|
blame
|
history
diff --git
a/ang/crmUi.js
b/ang/crmUi.js
index 20bcdbc823b6812cf217102bb03925f7e72ea3bd..482264bf25f57f0c33390b959825382b12cbb860 100644
(file)
--- a/
ang/crmUi.js
+++ b/
ang/crmUi.js
@@
-895,7
+895,7
@@
return form.$valid;
};
crmUiWizardCtrl.add(scope);
-
element.
on('$destroy', function(){
+
scope.$
on('$destroy', function(){
crmUiWizardCtrl.remove(scope);
});
}