fixed: issue with asset export HTML and putting head tags ABOVE <!doctype> and <html> tags. Now creates
a new session for each asset that it exports. fixed: Widget gear now does not move user to a different part of the page added a nice error message when the Widget macro can't find a URL.
This commit is contained in:
parent
31659b00a4
commit
6f90867d26
4 changed files with 19 additions and 12 deletions
|
|
@ -50,6 +50,9 @@ sub process {
|
|||
|
||||
# construct the absolute URL and get the asset ID
|
||||
my $asset = WebGUI::Asset->newByUrl($session, $url);
|
||||
if ( !$asset ) {
|
||||
return "Widget: Could not find asset with URL '$url'";
|
||||
}
|
||||
my $assetId = $asset->getId;
|
||||
|
||||
# ... and the full URL. If there's an exportWidget scratch variable, we're
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue