aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/javascripts/application.js
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-02-19 22:53:07 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-02-19 22:53:07 +0100
commitdedb5f07a5a1ffa4c098a751d716ccebd2353a54 (patch)
tree4d1754ab22dd9e9dc7bf5969eab86bc35380889e /sonar-server/src/main/webapp/javascripts/application.js
parent8e14501ecf8f21d3b271a91368454aed3c04516c (diff)
downloadsonarqube-dedb5f07a5a1ffa4c098a751d716ccebd2353a54.tar.gz
sonarqube-dedb5f07a5a1ffa4c098a751d716ccebd2353a54.zip
Remove unused Javascript function openResource()
Diffstat (limited to 'sonar-server/src/main/webapp/javascripts/application.js')
-rw-r--r--sonar-server/src/main/webapp/javascripts/application.js14
1 files changed, 1 insertions, 13 deletions
diff --git a/sonar-server/src/main/webapp/javascripts/application.js b/sonar-server/src/main/webapp/javascripts/application.js
index 9dcd5ecb55a..6cfcf872ab0 100644
--- a/sonar-server/src/main/webapp/javascripts/application.js
+++ b/sonar-server/src/main/webapp/javascripts/application.js
@@ -256,16 +256,4 @@ Treemap.prototype.onLoaded = function (componentsSize) {
};
elt.observe('mouseup', this.handleClick.bind(this));
}
-};
-
-function openResource(key, options) {
- if (typeof popup == "undefined") {
- popup = false;
- }
- if (popup) {
- window.open(this.href, 'resource', 'height=800,width=900,scrollbars=1,resizable=1');
- } else {
- document.location = baseUrl + '/dashboard/index/' + key;
- }
- return false;
-} \ No newline at end of file
+}; \ No newline at end of file