~ubuntu-branches/ubuntu/maverick/downloadstatusbar/maverick-proposed

« back to all changes in this revision

Viewing changes to components/downbar.js

  • Committer: Bazaar Package Importer
  • Author(s): Євгеній Мещеряков
  • Date: 2010-01-28 12:01:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100128120102-ho2yyop3ae4wuryi
Tags: 0.9.6.6-1
* New upstream release
* Updated patches:
  - disable-ads.diff
* Add install target to debian/rules
* Do not use zip to make an zpi file, use xpi-pack instead.
  Also do not build-depend on zip but on mozilla-devscripts (>= 0.19~)
* Add watch file

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
                        win = e.getNext();
241
241
                        
242
242
                        // Add Download to download bar in each window, and start updates
243
 
                        win.db_insertNewDownload(id, target, name, source, state, startTime, referrer);
 
243
                        win.db_insertNewDownload("db_" + id, target, name, source, state, startTime, referrer);
244
244
                        win.db_updateDLrepeat("db_" + aDownload.id);
245
245
                        
246
246
                        win.document.getElementById("downbar").hidden = false;
328
328
                        
329
329
                                while (e.hasMoreElements()) {
330
330
                                        win = e.getNext();
331
 
                                        win.db_insertNewDownload(DLid, stmt.getString(0), stmt.getString(1), stmt.getString(2), 
 
331
                                        win.db_insertNewDownload("db_" + DLid, stmt.getString(0), stmt.getString(1), stmt.getString(2), 
332
332
                                                                         stmt.getInt32(3), stmt.getInt64(4), stmt.getString(5));
333
333
                                        
334
334
                                        win.db_checkShouldShow();