mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
fixing samples
This commit is contained in:
parent
687bc582d0
commit
a8cb63d0d8
@ -26,10 +26,8 @@
|
||||
$(document).on('loadcomplete', function(resource) {
|
||||
|
||||
// Options has been defined in by a external ile ?
|
||||
var uri = new URI(window.location);
|
||||
var query = String.parseQueryString(uri.get('query'));
|
||||
var confUrl = query.confUrl;
|
||||
|
||||
var queryString = window.location.search;
|
||||
var confUrl = queryString.replace("?confUrl=", "");
|
||||
var options = loadDesignerOptions(confUrl);
|
||||
var designer = buildDesigner(options);
|
||||
|
||||
@ -132,9 +130,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div id="headerNotifier"></div>
|
||||
<div id="footer">
|
||||
<div id="footerLogo"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="mindplot" onselectstart="return false;"></div>
|
||||
|
@ -16,7 +16,6 @@
|
||||
<script type='text/javascript' src='js/mootools-core.js'></script>
|
||||
<script type='text/javascript' src='js/core.js'></script>
|
||||
<script type='text/javascript' src='js/less.js'></script>
|
||||
<script type='text/javascript' src='js/mindplot-min.js'></script>
|
||||
|
||||
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
|
||||
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
|
||||
@ -24,7 +23,7 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
var mapId = 'welcome';
|
||||
$(document).bind('loadcomplete', function (resource) {
|
||||
$(document).unbind().bind('loadcomplete', function (resource) {
|
||||
|
||||
// Set readonly option ...
|
||||
var options = loadDesignerOptions();
|
||||
|
@ -135,6 +135,7 @@ function loadDesignerOptions(jsonConf) {
|
||||
if (jsonConf) {
|
||||
$.ajax({
|
||||
url: jsonConf,
|
||||
dataType: 'json',
|
||||
async: false,
|
||||
method: 'get',
|
||||
success: function (options) {
|
||||
|
Loading…
Reference in New Issue
Block a user