mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
- Print is not public
- Public maps now are shared using REST
This commit is contained in:
parent
92849b02eb
commit
87ce3fc0a9
@ -223,9 +223,10 @@ mindplot.widget.Menu = new Class({
|
|||||||
this._registerTooltip('export', $msg('EXPORT'));
|
this._registerTooltip('export', $msg('EXPORT'));
|
||||||
|
|
||||||
this._addButton('print', false, false, function () {
|
this._addButton('print', false, false, function () {
|
||||||
|
this.save(saveElem, designer, false);
|
||||||
var baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf("c/maps/"));
|
var baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf("c/maps/"));
|
||||||
window.open(baseUrl + 'c/maps/' + mapId + '/print');
|
window.open(baseUrl + 'c/maps/' + mapId + '/print');
|
||||||
});
|
}.bind(this));
|
||||||
|
|
||||||
this._registerTooltip('print', $msg('PRINT'));
|
this._registerTooltip('print', $msg('PRINT'));
|
||||||
|
|
||||||
|
@ -24,8 +24,11 @@
|
|||||||
|
|
||||||
<sec:http pattern="/c/maps/*/embed" security="none"/>
|
<sec:http pattern="/c/maps/*/embed" security="none"/>
|
||||||
<sec:http pattern="/c/maps/*/try" security="none"/>
|
<sec:http pattern="/c/maps/*/try" security="none"/>
|
||||||
|
<sec:http pattern="/c/maps/*/print" security="none"/>
|
||||||
<sec:http pattern="/c/maps/*/public" security="none"/>
|
<sec:http pattern="/c/maps/*/public" security="none"/>
|
||||||
<sec:http pattern="/c/GCFInstall" security="none"/>
|
<sec:http pattern="/c/GCFInstall" security="none"/>
|
||||||
|
<sec:http pattern="/c/restful/maps/*/document/xml " security="none"/>
|
||||||
|
|
||||||
|
|
||||||
<sec:http pattern="/c/publicview.htm" security="none"/>
|
<sec:http pattern="/c/publicview.htm" security="none"/>
|
||||||
<sec:http pattern="/c/embeddedview.htm" security="none"/>
|
<sec:http pattern="/c/embeddedview.htm" security="none"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user