$emb_code = "<script src=\"http://code.jquery.com/jquery-1.9.1.min.js\"></script>
<script type=\"text/javascript\" src=\"" . $widget_controller_path . "?widgetId=" . $this->_id . "\"></script>
+<script>
$( document ).ready(function() {
$('#widgetwci').html(wciwidgetcode);
});
}
function getExtensionRootPath() {
- return '//' . $_SERVER['SERVER_NAME'] . str_replace($_SERVER['DOCUMENT_ROOT'], '', __DIR__);
+ return 'http://' . $_SERVER['SERVER_NAME'] . str_replace($_SERVER['DOCUMENT_ROOT'], '', __DIR__);
}
function getWciWidgetControllerPath() {