From 741d4476e6ac7dd7c0c72c40b22dc6f808a16438 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 26 Feb 2016 13:12:35 -0800 Subject: [PATCH] [Templates] Use text plugin for toolbar --- platform/forms/src/MCTToolbar.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/forms/src/MCTToolbar.js b/platform/forms/src/MCTToolbar.js index 0a31efc4fd..7db74a9dbe 100644 --- a/platform/forms/src/MCTToolbar.js +++ b/platform/forms/src/MCTToolbar.js @@ -25,8 +25,8 @@ * Module defining MCTForm. Created by vwoeltje on 11/10/14. */ define( - ["./controllers/FormController"], - function (FormController) { + ["./controllers/FormController", "text!../res/templates/toolbar.html"], + function (FormController, toolbarTemplate) { "use strict"; /** @@ -61,7 +61,7 @@ define( restrict: "E", // Load the forms template - templateUrl: templatePath, + template: toolbarTemplate, // Use FormController to populate/respond to changes in scope controller: [ '$scope', FormController ],