projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #21761 from eileenmcnaughton/contact
[civicrm-core.git]
/
js
/
Common.js
diff --git
a/js/Common.js
b/js/Common.js
index c17432bb7f379badfe85bf60e33cd44d751a2f82..f5601ed8c0df7118541b84ca7b8c33e7123131f5 100644
(file)
--- a/
js/Common.js
+++ b/
js/Common.js
@@
-368,6
+368,9
@@
if (!CRM.vars) CRM.vars = {};
settings.width = '' + parseInt(percentage+gap-((screenWidth - 700)/7*(gap)/100), 10) + '%';
}
}
+ if (settings.dialogClass && !_.includes(settings.dialogClass, 'crm-container')) {
+ settings.dialogClass += ' crm-container';
+ }
return settings;
};