Orbit/public/desktop_widgets/browser/javascripts/browser.js

11 lines
284 B
JavaScript
Raw Normal View History

2012-05-25 07:41:07 +00:00
var openURL = function(){
$("div[data-content=4fba4bf36f4fea8095e389eb] form#browse_url_4fba4bf36f4fea8095e389eb").submit(function(){
var urlToOpen = $(this).find("input").val();
o.appWindow({
title: "Browser",
appid: "extURL",
url: urlToOpen
});
return false;
})
}