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:
d03e0d1
)
crmMailingMgr - Fix saving of blank footer_id/header_id
author
Tim Otten
<totten@civicrm.org>
Thu, 12 Feb 2015 15:44:58 +0000
(07:44 -0800)
committer
Tim Otten
<totten@civicrm.org>
Thu, 12 Feb 2015 19:59:17 +0000
(11:59 -0800)
js/angular-crmMailing/services.js
patch
|
blob
|
blame
|
history
diff --git
a/js/angular-crmMailing/services.js
b/js/angular-crmMailing/services.js
index 61f3c2219dad4a72736b66fdd005e003b433f1e9..08efca1fb478ae798b286fa5f828dd794f70c3ba 100644
(file)
--- a/
js/angular-crmMailing/services.js
+++ b/
js/angular-crmMailing/services.js
@@
-308,7
+308,7
@@
// Angular ngModel sometimes treats blank fields as undefined.
angular.forEach(mailing, function(value, key) {
- if (value === undefined) {
+ if (value === undefined
|| value === null
) {
mailing[key] = '';
}
});