diff --git a/scm-webapp/src/main/webapp/resources/js/util/sonia.util.js b/scm-webapp/src/main/webapp/resources/js/util/sonia.util.js index 87e4709484..1845efd1ae 100644 --- a/scm-webapp/src/main/webapp/resources/js/util/sonia.util.js +++ b/scm-webapp/src/main/webapp/resources/js/util/sonia.util.js @@ -178,4 +178,18 @@ if (!Array.prototype.filter) { return results; } +} + +Sonia.util.getProperty = function(properties, key){ + var value = null; + if ( properties != null ){ + for (var i=0; i