Bugzilla – Attachment 49103 Details for
Bug 115322
beaglePageLoad error on every page load
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
patch which fixes this
beagle-mozilla-extension-path.patch (text/plain), 1.19 KB, created by
Joe Shaw
on 2005-09-07 18:15:33 UTC
(
hide
)
Description:
patch which fixes this
Filename:
MIME Type:
Creator:
Joe Shaw
Created:
2005-09-07 18:15:33 UTC
Size:
1.19 KB
patch
obsolete
>? mozilla-extension/prefs-wip.patch >Index: mozilla-extension/content/beagleOverlay.js >=================================================================== >RCS file: /cvs/gnome/beagle/mozilla-extension/content/beagleOverlay.js,v >retrieving revision 1.7 >diff -u -p -u -r1.7 beagleOverlay.js >--- mozilla-extension/content/beagleOverlay.js 27 Jul 2005 18:56:41 -0000 1.7 >+++ mozilla-extension/content/beagleOverlay.js 7 Sep 2005 18:12:30 -0000 >@@ -177,14 +177,19 @@ function beaglePageLoad(event) > if (!beagleShouldIndex (page)) > return; > >- dump("beaglePageLoad : storing page: " + page.location.href + "\n"); >+ if (!gFile.exists (gEnv.get("HOME") + "/.beagle")) { >+ dump("beaglePageLoad: ~/.beagle doesn't exist, not indexing"); >+ return; >+ } >+ >+ dump("beaglePageLoad: storing page: " + page.location.href + "\n"); > > if (!gFile.exists(gPath)) { > try { > gDir.create (); >- dump ("beagleInit: Created .beagle/firefox\n"); >+ dump ("beaglePageLoad: Created .beagle/firefox\n"); > } catch(e) { >- dump ("beagleInit: Unable to create .beagle/firefox: " + e + "\n"); >+ dump ("beaglePageLoad: Unable to create .beagle/firefox: " + e + "\n"); > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 115322
:
48826
| 49103