Subversion Repositories HomeAutomation

Rev

Rev 1681 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1681 Rev 2083
Line 42... Line 42...
42
{
42
{
43
    Console_LastClientId = client_id;
43
    Console_LastClientId = client_id;
44
   
44
 
45
    var parts = array_remove_empty(response.split(" "));
45
    var parts = array_remove_empty(response.split(" "));
46
 
46
 
-
 
47
  var result = true;
-
 
48
 
-
 
49
  if (Console_CurrentFunction)
-
 
50
  {
47
    var current_function = Console_CurrentFunction;
51
    var current_function = Console_CurrentFunction;
48
    Console_CurrentFunction = Console_Shell;
52
    Console_CurrentFunction = Console_Shell;
49
   
53
 
50
    var result = current_function.apply(null, Array.prototype.slice.call(parts, 0));
54
    result = current_function.apply(null, Array.prototype.slice.call(parts, 0));
51
   
55
 
52
    if (Console_CurrentFunction == Console_Shell)
56
    if (Console_CurrentFunction == Console_Shell)
53
    {
57
    {
54
        Console_SetDefaultPrompt();
58
      Console_SetDefaultPrompt();
-
 
59
    }
55
    }
60
  }
56
   
61
 
57
    return result;
62
    return result;
58
}
63
}
59
 
64