diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js index 9fdfec4f53..de41720260 100644 --- a/war/src/main/webapp/scripts/hudson-behavior.js +++ b/war/src/main/webapp/scripts/hudson-behavior.js @@ -2775,20 +2775,6 @@ var toggleCheckboxes = function(toggle) { } }; -// this used to be in prototype.js but it must have been removed somewhere between 1.4.0 to 1.5.1 -String.prototype.trim = function() { - var temp = this; - var obj = /^(\s*)([\W\w]*)(\b\s*$)/; - if (obj.test(temp)) - temp = temp.replace(obj, '$2'); - obj = / /g; - while (temp.match(obj)) - temp = temp.replace(obj, " "); - return temp; -} - - - var hoverNotification = (function() { var msgBox; var body;