Fixes re-syncing member and media data after saving
This commit is contained in:
@@ -484,7 +484,7 @@ function contentEditingHelper(fileManager, $q, $location, $routeParams, editorSt
|
||||
var savedVariants = [];
|
||||
if (origContent.variants) {
|
||||
isContent = true;
|
||||
//it's contnet so assign the variants as they exist
|
||||
//it's content so assign the variants as they exist
|
||||
origVariants = origContent.variants;
|
||||
savedVariants = savedContent.variants;
|
||||
}
|
||||
@@ -510,7 +510,7 @@ function contentEditingHelper(fileManager, $q, $location, $routeParams, editorSt
|
||||
|
||||
//special case for content, don't sync this variant if it wasn't tagged
|
||||
//for saving in the first place
|
||||
if (!origVariant.save) {
|
||||
if (isContent && !origVariant.save) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,10 +12,6 @@
|
||||
</div>
|
||||
<div ng-switch-when="true">
|
||||
|
||||
<pre><code>Hello</code></pre>
|
||||
<pre><code>{{vm.showReset}}</code></pre>
|
||||
<pre><code>{{vm.passwordValues | json}}</code></pre>
|
||||
|
||||
<ng-form name="vm.passwordForm">
|
||||
<umb-control-group alias="resetPassword" label="@user_resetPassword" ng-show="vm.config.enableReset">
|
||||
<input type="checkbox" ng-model="vm.passwordValues.reset"
|
||||
|
||||
Reference in New Issue
Block a user