mirror of
https://github.com/nasa/openmct.git
synced 2025-04-13 22:23:13 +00:00
[Windowing] Comments
Added comments to the perform function WTD-16.
This commit is contained in:
parent
6b2edc4469
commit
140e3a1fb6
@ -39,11 +39,13 @@ define(
|
||||
function NewWindowAction($window) {
|
||||
return {
|
||||
/**
|
||||
* Open the object in a new window (currently a stub)
|
||||
* Open the object in a new window
|
||||
*/
|
||||
perform: function () {
|
||||
// Places the current Url into a variable
|
||||
// Then the Url is opened using $window
|
||||
var currentUrl = $window.location.href;
|
||||
window.open(currentUrl);
|
||||
$window.open(currentUrl);
|
||||
},
|
||||
|
||||
getMetadata: function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user