Skip to content

Commit

Permalink
XWIKI-21629: The step order displayed in inline edit is not consisten…
Browse files Browse the repository at this point in the history
…t with the order from objects editor

* Removed similar operations, I searched in the module all uses of `mathtool`.
  • Loading branch information
Sereza7 committed Nov 14, 2024
1 parent d664d66 commit ac9e147
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
<select id="stepOrderSelect">
#if ($nbSteps > 0)
#foreach($i in [0..$mathtool.sub($nbSteps, 1)])
<option value="$i" #if ($vobj.getProperty('order').value == $i) selected #end >$mathtool.add($i, 1)</option>
<option value="$i" #if ($vobj.getProperty('order').value == $i) selected #end >$i</option>
#end
#end
#if ($isNewStep)
<option value="$nbSteps" selected >$mathtool.add($nbSteps, 1)</option>
<option value="$nbSteps" selected >$nbSteps</option>
#end
</select>
</dd>
Expand Down

0 comments on commit ac9e147

Please sign in to comment.