From: Thierry Parmentelat Date: Sat, 5 Oct 2013 04:29:52 +0000 (+0200) Subject: clean up multiply-defined although unused js function errorDisplay X-Git-Tag: myslice-0.2-5~32 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=70953436ac5b56377b4c87fc307d46ef33ddbb27 clean up multiply-defined although unused js function errorDisplay --- 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;