|
@@ -44,6 +44,15 @@ if(!$contentData) {
|
|
];
|
|
];
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+for ($i = 0; $i < count($fields); $i++) {
|
|
|
|
+ foreach($fields[$i] as $head => $values) {
|
|
|
|
+ for($k = 0; $k < count($values); $k++) {
|
|
|
|
+ $fName = $head . '_' . sanitize_field_name($values[$k]);
|
|
|
|
+ if(!isset($contentData["common"][$fName])) $contentData["common"][$fName] = null;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
?>
|
|
?>
|
|
|
|
|
|
<div class="p-3 border-top mt-3 mcp-theme-1">
|
|
<div class="p-3 border-top mt-3 mcp-theme-1">
|
|
@@ -193,6 +202,7 @@ if(!$contentData) {
|
|
|
|
|
|
new Vue({
|
|
new Vue({
|
|
el: '#edit-univ_history_social-container',
|
|
el: '#edit-univ_history_social-container',
|
|
|
|
+ delimiters: ["@{{","}}"],
|
|
data: model,
|
|
data: model,
|
|
mounted: function() {
|
|
mounted: function() {
|
|
$('#edit-univ_history_social-container [moe][initialized]').removeAttr('initialized');
|
|
$('#edit-univ_history_social-container [moe][initialized]').removeAttr('initialized');
|