- Disable text selection on IE 9.

This commit is contained in:
Paulo Gustavo Veiga 2012-06-24 21:51:04 -03:00
parent 5b966d870f
commit 65e7f2ce63
9 changed files with 18 additions and 17 deletions

View File

@ -207,7 +207,7 @@ mindplot.widget.Menu = new Class({
}
this._addButton('export', false, false, function() {
var reqDialog = new MooDialog.Request('c/iframeWrapper.htm?url=c/maps/' + mapId + "/exportf", null,
var reqDialog = new MooDialog.Request('/c/iframeWrapper.htm?url=c/maps/' + mapId + "/exportf", null,
{'class': 'modalDialog exportModalDialog',
closeButton:true,
destroyOnClose:true,
@ -223,7 +223,7 @@ mindplot.widget.Menu = new Class({
this._registerTooltip('export', "Export");
this._addButton('print', false, false, function() {
window.open('c/maps/' + mapId + '/print');
window.open('/c/maps/' + mapId + '/print');
});
this._registerTooltip('print', "Print");
@ -348,7 +348,7 @@ mindplot.widget.Menu = new Class({
var shareElem = $('shareIt');
if (shareElem) {
this._addButton('shareIt', false, false, function() {
var reqDialog = new MooDialog.Request('c/iframeWrapper?url=c/maps/' + mapId + "/sharef", null,
var reqDialog = new MooDialog.Request('/c/iframeWrapper?url=c/maps/' + mapId + "/sharef", null,
{'class': 'modalDialog shareModalDialog',
closeButton:true,
destroyOnClose:true,
@ -368,7 +368,7 @@ mindplot.widget.Menu = new Class({
var publishElem = $('publishIt');
if (publishElem) {
this._addButton('publishIt', false, false, function() {
var reqDialog = new MooDialog.Request('c/iframeWrapper?url=c/maps/' + mapId + "/publishf", null,
var reqDialog = new MooDialog.Request('/c/iframeWrapper?url=c/maps/' + mapId + "/publishf", null,
{'class': 'modalDialog publishModalDialog',
closeButton:true,
destroyOnClose:true,
@ -389,7 +389,7 @@ mindplot.widget.Menu = new Class({
if (historyElem) {
this._addButton('history', false, false, function() {
var reqDialog = new MooDialog.Request('c/iframeWrapper?url=c/maps/' + mapId + "/historyf", null,
var reqDialog = new MooDialog.Request('/c/iframeWrapper?url=c/maps/' + mapId + "/historyf", null,
{'class': 'modalDialog historyModalDialog',
closeButton:true,
destroyOnClose:true,

View File

@ -51,11 +51,6 @@ body {
font: 13px arial, helvetica, clean, sans-serif;
font-size: small;
font: x-small;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}
table {

View File

@ -7,6 +7,12 @@
@import "header.less";
body {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow:hidden;
}

View File

@ -216,7 +216,7 @@
<div id="dragTextNode" class="textNode">Text Node !!</div>
</div>
<div id="mindplot"></div>
<div id="mindplot" onselectstart="return false;"></div>
<script type="text/javascript" src="js/editor.js"></script>
</body>
</html>

View File

@ -21,7 +21,7 @@
<script type="text/javascript">
var mapId = 'welcome';
var mapId = 'test';
$(document).addEvent('loadcomplete', function(resource) {
var options = loadDesignerOptions();
var designer = buildDesigner(options);
@ -126,7 +126,7 @@
</div>
</div>
<div id="mindplot"></div>
<div id="mindplot" onselectstart="return false;"></div>
<script type="text/javascript" src="js/editor.js"></script>
</body>
</html>

View File

@ -135,7 +135,7 @@
</div>
</div>
<div id="mindplot"></div>
<div id="mindplot" onselectstart="return false;"></div>
<script type="text/javascript" src="js/editor.js"></script>
</body>
</html>

View File

@ -51,7 +51,7 @@
</div>
</div>
<div id="mindplot"></div>
<div id="mindplot" onselectstart="return false;"></div>
<script type="text/javascript" src="js/editor.js"></script>
</body>
</html>

View File

@ -77,7 +77,7 @@
<%@ include file="/jsp/mindmapEditorToolbar.jsf" %>
</div>
<div id="mindplot"></div>
<div id="mindplot" onselectstart="return false;"></div>
<script type="text/javascript" src="js/editor.js"></script>
</body>
</html>

View File

@ -71,7 +71,7 @@
</head>
<body>
<div id="mapContainer">
<div id="mindplot"></div>
<div id="mindplot" onselectstart="return false;"></div>
<div id="embFooter">
<a href="${pageContext.request.contextPath}/c/home" target="new">