|
@@ -26,13 +26,18 @@ angular.module('luticateUtils')
|
26
|
26
|
templateError: "luticate-error.html"
|
27
|
27
|
};
|
28
|
28
|
|
29
|
|
- var o = $scope.luBusy();
|
30
|
|
- if (o != null) {
|
31
|
|
- angular.extend(options, o);
|
32
|
|
- }
|
33
|
|
-
|
34
|
29
|
$scope.update = function()
|
35
|
30
|
{
|
|
31
|
+ var o = $scope.luBusy();
|
|
32
|
+ if (o != null) {
|
|
33
|
+ if (typeof o == 'string') {
|
|
34
|
+ options.group = o;
|
|
35
|
+ }
|
|
36
|
+ else {
|
|
37
|
+ angular.extend(options, o);
|
|
38
|
+ }
|
|
39
|
+ }
|
|
40
|
+
|
36
|
41
|
var loaders = luticatePromises.getLoadersGroup(options.group);
|
37
|
42
|
$scope.isLoading = false;
|
38
|
43
|
if (loaders != null) {
|