[Pkg-mozext-commits] [sage-extension] 39/39: search fix

David Prévot taffit at moszumanska.debian.org
Fri May 1 03:10:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag sage_1_1
in repository sage-extension.

commit d929ca7db42350c9eed232375453e7c5ade7e700
Author: Peter Andrews <petea at jhu.edu>
Date:   Mon Jun 14 05:11:47 2004 +0000

    search fix
---
 src/sage/content/sage.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sage/content/sage.js b/src/sage/content/sage.js
index fdc446d..c03c116 100755
--- a/src/sage/content/sage.js
+++ b/src/sage/content/sage.js
@@ -487,7 +487,7 @@ function httpGetResult(aResultCode) {
 	if(aResultCode == RESULT_OK) {
 		currentFeed = new Feed(responseXML);
 
-		if(lastResource) {
+		if(lastResource && lastResource.res) {
 			if(CommonFunc.getPrefValue(CommonFunc.AUTO_FEED_TITLE, "bool", true)) {
 				if(CommonFunc.getBMDSProperty(lastResource.res, CommonFunc.BM_NAME) != currentFeed.getTitle()) {
 					CommonFunc.setBMDSProperty(lastResource.res, CommonFunc.BM_NAME, currentFeed.getTitle());

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/sage-extension.git



More information about the Pkg-mozext-commits mailing list