Commit 26a3d750 authored by LianaHus's avatar LianaHus

fixed test

parent b6143abd
......@@ -134,7 +134,7 @@ TxBrowser.prototype.render = function () {
}
TxBrowser.prototype.txInputChanged = function (event) {
// todo check validation of txnumber
// todo check validation of txnumber in the input element, use
// required
// oninvalid="setCustomValidity('Please provide a valid transaction number, must start with 0x and have length of 22')"
// pattern="^0[x,X]+[0-9a-fA-F]{22}"
......
......@@ -180,7 +180,7 @@ function fileExplorer (localRegistry, files, menuItems) {
MENU_HANDLE = contextMenu(event, {
'Rename': () => {
if (self.files.readonly) { return tooltip('cannot rename folder. ' + self.files.type + ' is a read only explorer') }
var name = label.querySelector('label[data-path="' + key + '"]')
var name = label.querySelector('span[data-path="' + key + '"]')
if (name) editModeOn(name)
},
'Delete': () => {
......@@ -197,7 +197,7 @@ function fileExplorer (localRegistry, files, menuItems) {
if (!self.files.readonly) {
actions['Rename'] = () => {
if (self.files.readonly) { return tooltip('cannot rename file. ' + self.files.type + ' is a read only explorer') }
var name = label.querySelector('label[data-path="' + key + '"]')
var name = label.querySelector('span[data-path="' + key + '"]')
if (name) editModeOn(name)
}
actions['Delete'] = () => {
......
......@@ -47,7 +47,7 @@ let css = csjs`
margin: 0 50px 0 70px;
}
.hpSections {
min-width: 620px;
min-width: 640px;
margin: 0 60px;
}
.labelIt {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment