/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to html_server/templates/registers/table_scripts.html

  • Committer: Vasilii Chernov
  • Date: 2016-03-01 15:42:48 UTC
  • mto: This revision was merged to the branch mainline in revision 367.
  • Revision ID: vchernov@inr.ru-20160301154248-dpu4wdachiezj2fb
1. api-serer:
   - change multiprosessing work mechanism
   - add new pywrap functions handling
2. html-server: 
   - now works through api-server

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   */
14
14
   
15
15
   function updateRegister(bank, name) {
16
 
      var pathToReadRegister = "{{ url_for('read_register_json') }}"
 
16
      var pathToReadRegister = "{{ url_for('process_json_command', command = 'read_register') }}"
17
17
      var completePath = pathToReadRegister + '?bank=' + bank +
18
 
                     '&name=' + name
 
18
                     '&reg=' + name
19
19
      
20
20
      $.getJSON(completePath, function(json){
21
21
                  checkError(json)
29
29
      if(value == "")
30
30
         return
31
31
      
32
 
      var pathToReadRegister = "{{ url_for('write_register_json') }}"
 
32
      var pathToReadRegister = "{{ url_for('process_json_command', command = 'write_register') }}"
33
33
      var completePath = pathToReadRegister + '?bank=' + bank +
34
 
                     '&name=' + name + '&val=' + value;
 
34
                     '&reg=' + name + '&value=' + value;
35
35
                        
36
36
      $.getJSON(completePath, 
37
37
                function(json) {