Skip to content

Commit dfac906

Browse files
committed
MOBILE-1966 glossary: Add entry loading spinner on split pane
1 parent 47e555e commit dfac906

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

www/addons/mod/glossary/controllers/entry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ angular.module('mm.addons.mod_glossary')
8585
// Log that the entry was viewed.
8686
$mmaModGlossary.logEntryView(entry.id);
8787
}).finally(function() {
88-
$scope.loaded = true;
88+
$scope.entryLoaded = true;
8989
});
9090
});

www/addons/mod/glossary/templates/entry.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<ion-nav-title><mm-format-text watch="true">{{ title }}</mm-format-text></ion-nav-title>
33
<ion-content mm-state-class>
44

5-
<ion-refresher pulling-text="{{ 'mm.core.pulltorefresh' | translate }}" ng-if="loaded" on-refresh="refreshEntry()"></ion-refresher>
5+
<ion-refresher pulling-text="{{ 'mm.core.pulltorefresh' | translate }}" ng-if="entryLoaded" on-refresh="refreshEntry()"></ion-refresher>
66

7-
<mm-loading hide-until="loaded">
7+
<mm-loading hide-until="entryLoaded">
88

99
<div class="list" ng-if="entry != false">
1010
<a class="item item-avatar" ng-if="showAuthor" ui-sref="{{userStateName}}({courseid: courseId, userid: entry.userid})">

0 commit comments

Comments
 (0)