]> source.dussan.org Git - sonarqube.git/commitdiff
Remove unused Javascript function openResource()
authorSimon Brandhof <simon.brandhof@gmail.com>
Sun, 19 Feb 2012 21:53:07 +0000 (22:53 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Sun, 19 Feb 2012 21:53:07 +0000 (22:53 +0100)
sonar-server/src/main/webapp/javascripts/application.js

index 9dcd5ecb55a95e8bdee9c7916482191905b46113..6cfcf872ab0007aaef1ad57a911a62487c069d61 100644 (file)
@@ -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