Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrailsford committed Dec 28, 2016
2 parents 2f5e3c1 + f45f6ae commit fe82d1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
os: Visual Studio 2015

# version format
version: 1.0.2.{build}
version: 1.0.3.{build}

# UMBRACO_PACKAGE_PRERELEASE_SUFFIX if a rtm release build this should be blank, otherwise if empty will default to alpha
# example UMBRACO_PACKAGE_PRERELEASE_SUFFIX=beta
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$scope.model.value = $scope.model.value || [];

$scope.canAdd = function() {
return (!$scope.model.config.maxItems || $scope.model.config.maxItems === 0 || $scope.model.value.length < $scope.model.config.maxItems) && $scope.model.config.singleItemMode !== "1";
return (!$scope.model.config.maxItems || $scope.model.config.maxItems == 0 || $scope.model.value.length < $scope.model.config.maxItems) && $scope.model.config.singleItemMode != "1";
}

$scope.canDelete = function () {
Expand Down Expand Up @@ -83,7 +83,7 @@
callback: function (data) {
innerContentService.populateName(data.model, data.idx, $scope.model.config.contentTypes);

scResources.getPreviewMarkup(data.model).then(function (markup) {
scResources.getPreviewMarkup(data.model, editorState.current.id).then(function (markup) {
if (markup) {
$scope.markup[data.model.key] = markup;
}
Expand Down

0 comments on commit fe82d1c

Please sign in to comment.