Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
17eeed39
Unverified
Commit
17eeed39
authored
Apr 18, 2019
by
Liana Husikyan
Committed by
GitHub
Apr 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1856 from ethereum/debugger
Fix updating debugger views
parents
f5066729
cc0351a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
DropdownPanel.js
src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js
+3
-4
No files found.
src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js
View file @
17eeed39
...
@@ -98,11 +98,10 @@ DropdownPanel.prototype.update = function (_data, _header) {
...
@@ -98,11 +98,10 @@ DropdownPanel.prototype.update = function (_data, _header) {
DropdownPanel
.
prototype
.
setContent
=
function
(
node
)
{
DropdownPanel
.
prototype
.
setContent
=
function
(
node
)
{
if
(
!
this
.
view
)
return
if
(
!
this
.
view
)
return
var
parent
=
this
.
view
.
querySelector
(
'.dropdownpanel div.dropdowncontent'
)
yo
.
update
(
this
.
view
,
this
.
render
(
null
,
node
))
if
(
parent
)
parent
.
replaceChild
(
node
,
parent
.
firstElementChild
)
}
}
DropdownPanel
.
prototype
.
render
=
function
(
overridestyle
)
{
DropdownPanel
.
prototype
.
render
=
function
(
overridestyle
,
node
)
{
var
content
=
yo
`<div>Empty</div>`
var
content
=
yo
`<div>Empty</div>`
if
(
this
.
json
)
{
if
(
this
.
json
)
{
content
=
this
.
treeView
.
render
({})
content
=
this
.
treeView
.
render
({})
...
@@ -117,7 +116,7 @@ DropdownPanel.prototype.render = function (overridestyle) {
...
@@ -117,7 +116,7 @@ DropdownPanel.prototype.render = function (overridestyle) {
var
contentNode
=
yo
`<div class='dropdownpanel
${
css
.
dropdownpanel
}
' style='display:none'>
var
contentNode
=
yo
`<div class='dropdownpanel
${
css
.
dropdownpanel
}
' style='display:none'>
<i class="
${
css
.
refresh
}
fa fa-refresh" aria-hidden="true"></i>
<i class="
${
css
.
refresh
}
fa fa-refresh" aria-hidden="true"></i>
<div class='dropdowncontent'>
${
content
}
</div>
<div class='dropdowncontent'>
${
node
||
content
}
</div>
<div class='dropdownrawcontent' style='display:none'></div>
<div class='dropdownrawcontent' style='display:none'></div>
<div class='message' style='display:none'></div>
<div class='message' style='display:none'></div>
</div>`
</div>`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment