Showing
1 changed file
with
2 additions
and
0 deletions
| @@ -1554,6 +1554,7 @@ var BackgroundImageDialog = function (editorUi, applyFn, img, color, showColor) | @@ -1554,6 +1554,7 @@ var BackgroundImageDialog = function (editorUi, applyFn, img, color, showColor) | ||
| 1554 | widthInput.style.marginLeft = '8px'; | 1554 | widthInput.style.marginLeft = '8px'; |
| 1555 | widthInput.style.marginRight = '16px'; | 1555 | widthInput.style.marginRight = '16px'; |
| 1556 | widthInput.value = (img != null && !isPageLink) ? img.width : ''; | 1556 | widthInput.value = (img != null && !isPageLink) ? img.width : ''; |
| 1557 | + widthInput.setAttribute('disabled', true) | ||
| 1557 | 1558 | ||
| 1558 | div.appendChild(widthInput); | 1559 | div.appendChild(widthInput); |
| 1559 | 1560 | ||
| @@ -1565,6 +1566,7 @@ var BackgroundImageDialog = function (editorUi, applyFn, img, color, showColor) | @@ -1565,6 +1566,7 @@ var BackgroundImageDialog = function (editorUi, applyFn, img, color, showColor) | ||
| 1565 | heightInput.style.marginLeft = '8px'; | 1566 | heightInput.style.marginLeft = '8px'; |
| 1566 | heightInput.style.marginRight = '16px'; | 1567 | heightInput.style.marginRight = '16px'; |
| 1567 | heightInput.value = (img != null && !isPageLink) ? img.height : ''; | 1568 | heightInput.value = (img != null && !isPageLink) ? img.height : ''; |
| 1569 | + heightInput.setAttribute('disabled', true) | ||
| 1568 | 1570 | ||
| 1569 | div.appendChild(heightInput); | 1571 | div.appendChild(heightInput); |
| 1570 | mxUtils.br(div); | 1572 | mxUtils.br(div); |