Merge branch 'v8/8.14' into v8/8.15

# Conflicts:
#	src/SolutionInfo.cs
This commit is contained in:
Sebastiaan Janssen
2021-07-20 10:17:40 +02:00
2 changed files with 16 additions and 0 deletions

View File

@@ -98,6 +98,10 @@
vm.model.value.forEach(mediaEntry => updateMediaEntryData(mediaEntry));
// set the onValueChanged callback, this will tell us if the media picker model changed on the server
// once the data is submitted. If so we need to re-initialize
vm.model.onValueChanged = onServerValueChanged;
userService.getCurrentUser().then(function (userData) {
if (!vm.model.config.startNodeId) {
@@ -120,6 +124,15 @@
};
function onServerValueChanged(newVal, oldVal) {
if(newVal === null || !Array.isArray(newVal)) {
newVal = [];
vm.model.value = newVal;
}
vm.model.value.forEach(mediaEntry => updateMediaEntryData(mediaEntry));
}
function setDirty() {
if (vm.propertyForm) {
vm.propertyForm.$setDirty();

View File

@@ -351,6 +351,9 @@
<DevelopmentServerPort>8150</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:8150</IISUrl>
<DevelopmentServerPort>8141</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:8141</IISUrl>
<DevelopmentServerPort>8131</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:8131</IISUrl>