From 70953436ac5b56377b4c87fc307d46ef33ddbb27 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 5 Oct 2013 06:29:52 +0200 Subject: [PATCH] clean up multiply-defined although unused js function errorDisplay --- portal/static/js/common.functions.js | 5 ----- unfold/static/js/unfold-helper.js | 5 ----- 2 files changed, 10 deletions(-) diff --git a/portal/static/js/common.functions.js b/portal/static/js/common.functions.js index 3fe31c44..24142168 100644 --- a/portal/static/js/common.functions.js +++ b/portal/static/js/common.functions.js @@ -14,11 +14,6 @@ function getKeySplitId(id,separator){ return key; } -function errorDisplay(error){ - var out = '
Notice
  • ' + error + '
'; - return out; -} - function arrays_equal(a,b) { return !(a"+text+""; }, - errorDisplay : function (error) { - return '
Notice
  • ' + error + '
'; - }, - get_value: function (value) { //if(typeof(jQuery(value).attr('value'))!="undefined"){ if (/.*<\/span>/i.test(value)) { @@ -36,5 +32,4 @@ var unfold = { } // global unfold // xxx tmp - until all plugins are ported -errorDisplay = unfold.errorDisplay; get_value = unfold.get_value; -- 2.43.0