From b43dc3288e247abc3a747432cf30e4c89721c67d Mon Sep 17 00:00:00 2001 From: Johan Compagner Date: Tue, 29 Nov 2016 13:12:56 +0100 Subject: [PATCH] fixes for trustAsHtml for label.html it always was trusting it and form labelfor.html it was always not trusting it. --- label/label.js | 3 ++- label/labelfor.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/label/label.js b/label/label.js index 7ac23b3..058f38b 100644 --- a/label/label.js +++ b/label/label.js @@ -4,7 +4,8 @@ angular.module('bootstrapcomponentsLabel',['servoy']) restrict: 'E', scope: { model: "=svyModel", - handlers: "=svyHandlers" + handlers: "=svyHandlers", + servoyApi: "=svyServoyapi" }, controller: function($scope, $element, $attrs) { var templateUrl = $scope.model.labelFor ? "bootstrapcomponents/label/labelfor.html" : "bootstrapcomponents/label/label.html"; diff --git a/label/labelfor.html b/label/labelfor.html index 0bacda7..0a30488 100644 --- a/label/labelfor.html +++ b/label/labelfor.html @@ -1,6 +1,6 @@