Skip to content

Commit

Permalink
Fixed issue with JavaScript not loading on API<19
Browse files Browse the repository at this point in the history
  • Loading branch information
aforcier committed Apr 3, 2015
1 parent 32591e0 commit cfa2fe4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,10 @@ public void run() {
}

// Load example content into editor
mWebView.loadUrl("JavaScript:ZSSEditor.getField('zss_field_title').setHTML('" + "I\\'m editing a post!" + "');");
mWebView.loadUrl("JavaScript:ZSSEditor.getField('zss_field_content').setHTML('" + htmlFile + "');");
mWebView.loadUrl("javascript:ZSSEditor.getField('zss_field_title').setHTML('" +
"I\\'m editing a post!" + "');");
mWebView.loadUrl("javascript:ZSSEditor.getField('zss_field_content').setHTML('" +
htmlFile + "');");
}
});
}
Expand Down

0 comments on commit cfa2fe4

Please sign in to comment.