Skip to content

Commit

Permalink
fix: ajax refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
LesageYann committed Nov 15, 2021
1 parent c40aaba commit 374d738
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/Material-Design-Lite-Widgets/MDLNestedList.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -467,12 +467,11 @@ MDLNestedList >> printHtmlForElementsFrom: start to: end context: aContext on: s
self
printResultOf: [ :html |
(start <= self filteredElements size and: [ end >= 1 ])
ifTrue: [
self filteredElements
ifTrue: [ self filteredElements
from: (start max: 1)
to: (end min: self filteredElements size)
do: [ :anElement |
self
self strategy
renderListTree: (self obtainTreeFor: anElement)
index: (self filteredElements indexOf: anElement)
indentedBy: 1
Expand All @@ -498,8 +497,10 @@ MDLNestedList >> printResultOf: aBlock context: aContext on: stream [
MDLNestedList >> printSublistFor: anIntervalRequest context: aContext on: stream [
self
printResultOf: [ :html |
self
renderSublistOf: (self obtainTreeFor: (self obtainElementForPath: anIntervalRequest)) children
self strategy
renderSublistOf:
(self obtainTreeFor: (self obtainElementForPath: anIntervalRequest))
children
parentIndex: anIntervalRequest
indentedBy: (anIntervalRequest occurrencesOf: $:) + 1
on: html ]
Expand Down

0 comments on commit 374d738

Please sign in to comment.