From: Jason Skomorowski Date: Mon, 4 Aug 2014 14:35:36 +0000 (-0400) Subject: Warn, don't fail, on missing template X-Git-Tag: 1.0.0~324^2~51 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=b6c967bc5c0ac95c44e6110d5918acab7cb870c9;p=mkws-moved-to-github.git Warn, don't fail, on missing template --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 52f2ee5..3f610cf 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -413,7 +413,8 @@ function team($, teamName) { return template; } else { - alert("Missing MKWS template for " + name); + mkws.log("No MKWS template for " + name); + return null; } } that.loadTemplate = loadTemplate;