X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=unfold%2Fstatic%2Fjs%2Funfold-helper.js;h=1564e6fbc8843268030437be5f9699c1ef66ca48;hb=cc77563dcaaadd7d71963721c2e154a766ab4a01;hp=f5adb1b6cb2495d6baaf464371e80ecd177b0bc0;hpb=7779d17442527ce42c1659d851f7df120aac24f0;p=myslice.git diff --git a/unfold/static/js/unfold-helper.js b/unfold/static/js/unfold-helper.js index f5adb1b6..1564e6fb 100644 --- a/unfold/static/js/unfold-helper.js +++ b/unfold/static/js/unfold-helper.js @@ -20,10 +20,6 @@ var unfold = { return ""; }, - errorDisplay : function (error) { - return '
Notice
  • ' + error + '
'; - }, - get_value: function (value) { //if(typeof(jQuery(value).attr('value'))!="undefined"){ if (/.*<\/span>/i.test(value)) { @@ -31,18 +27,7 @@ var unfold = { } else { return value; } - }, - - escape_id: function(id) { - if(typeof id != 'undefined'){ - return id.replace( /(:|\.|\[|\])/g, "\\$1" ); - }else{ - return "undefined-id"; - } } } // global unfold -// xxx tmp - until all plugins are ported -errorDisplay = unfold.errorDisplay; -get_value = unfold.get_value;