Commits

Robert Brewer committed 48fe45a

Oops. google.load has to happen at the top level, I guess.

  • Participants
  • Parent commits a19d254

Comments (0)

Files changed (3)

File flowrate/accounts.html

 <script type="text/javascript" src="/common.js"></script>
 <script type="text/javascript">
 
+google.load('visualization', '1.0', {'packages':['corechart']});
+
 //                                  ACCOUNTS                                  //
 
 
         // Update existing transaction
         var h = http("PUT", '/accounts/' + acctid_being_edited, false,
                      "Updating transaction " + acctid_being_edited);
+        // TODO: update cell data
         h[200] = function(h) {};
         h[204] = function(h) {};
     }

File flowrate/common.js

     // as rows in the DataTable, which then are drawn as individual points
     // on the horizontal axis.
 
-    google.load('visualization', '1.0', {'packages':['corechart']});
-
     // Create the data table.
     var table = new google.visualization.DataTable();
     table.addColumn('string', 'Account');

File flowrate/transactions.html

 <script type="text/javascript" src="/common.js"></script>
 <script type="text/javascript">
 
+google.load('visualization', '1.0', {'packages':['corechart']});
+
+
 //                                TRANSACTIONS                                //