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:
8f736b8
)
Fix setting undefined view value
author
Coleman Watts
<coleman@civicrm.org>
Sun, 1 Nov 2015 19:52:19 +0000
(14:52 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Sun, 1 Nov 2015 19:52:19 +0000
(14:52 -0500)
ang/crmUi.js
patch
|
blob
|
blame
|
history
diff --git
a/ang/crmUi.js
b/ang/crmUi.js
index 8540e40dd485906038de05391653abe8a2e0c468..19672daed18b2fad3303850bac68e2a378e98790 100644
(file)
--- a/
ang/crmUi.js
+++ b/
ang/crmUi.js
@@
-397,7
+397,7
@@
ngModel.$render = function(value) {
editor.done(function() {
- CRM.wysiwyg.setVal(elm, ngModel.$viewValue);
+ CRM.wysiwyg.setVal(elm, ngModel.$viewValue
|| ''
);
});
};
}