Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
d7b88721
Commit
d7b88721
authored
Jul 10, 2012
by
Katie Laverty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed WebViewer issue of returning null
parent
135acbca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
appinventor/components/src/com/google/appinventor/components/runtime/WebViewer.java
.../com/google/appinventor/components/runtime/WebViewer.java
+2
-2
No files found.
appinventor/components/src/com/google/appinventor/components/runtime/WebViewer.java
View file @
d7b88721
...
...
@@ -168,7 +168,7 @@ public final class WebViewer extends AndroidViewComponent {
"Home URL if new pages were visited by following links."
,
category
=
PropertyCategory
.
BEHAVIOR
)
public
String
CurrentUrl
()
{
return
webview
.
getUrl
();
return
(
webview
.
getUrl
()
==
null
)
?
""
:
webview
.
getUrl
();
}
/**
...
...
@@ -180,7 +180,7 @@ public final class WebViewer extends AndroidViewComponent {
description
=
"Title of the page currently viewed"
,
category
=
PropertyCategory
.
BEHAVIOR
)
public
String
CurrentPageTitle
()
{
return
webview
.
getTitle
();
return
(
webview
.
getTitle
()
==
null
)
?
""
:
webview
.
getTitle
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment