-
Sub-task
-
Resolution: Fixed
-
Critical
-
2.0
-
- Go to sites list with 3 or more sites recorded.
- Delete the first site and check that the list is correctly refreshed.
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
-
MOBILE-981-refactor
When mm-format-text is applied, the scope variables are replaced with the treated text. That means that the binding with the variables is lost, so the data is not updated anymore.
How to reproduce it:
- Go to sites list with several sites stored.
- Delete one of them (not the last one).
- You'll see that the last item is removed from the list (because of the ng-repeat count), but the deleted site is still there. That's because the row data is now plain text, not a variable.
- If you refresh the view you'll see that the list is shown as it should.
We need to think how to solve this.