- AppCall.get ("token", "ping", {/*query*/},function(jresp, errcode) {
+ AppCall.get (scope.plugin, "ping", {/*query*/},function(jresp, errcode) {
if (errcode !== 200 || jresp.request.status !== "success") {
Notification.warning ({message: jresp.request.info, delay: 5000});
scope.offline();
if (errcode !== 200 || jresp.request.status !== "success") {
Notification.warning ({message: jresp.request.info, delay: 5000});
scope.offline();
- AppCall.get ("token", "refresh", {/*query*/}, function(jresp, errcode) {
+ AppCall.get (scope.plugin, "refresh", {/*query*/}, function(jresp, errcode) {
- AppCall.get ("token", "create", {token: AppConfig.session.initial}, function(jresp, errcode) {
+ AppCall.get (scope.plugin, "login", {token: AppConfig.session.initial}, function(jresp, errcode) {
scope.icon = attrs.icon || "fi-lightbulb";
scope.hostname = $location.host();
scope.httpdport = $location.port();
scope.icon = attrs.icon || "fi-lightbulb";
scope.hostname = $location.host();
scope.httpdport = $location.port();