witten
/
luminotes
Archived
1
0
Fork 0

Protection for a lack of an href.

This commit is contained in:
Dan Helfman 2007-08-15 20:46:37 +00:00
parent 8e819b7c01
commit e87eee87c8
1 changed files with 3 additions and 0 deletions

View File

@ -568,6 +568,9 @@ Editor.prototype.shutdown = function( event ) {
// convenience function for parsing a link that has an href URL containing a query string
function parse_query( link ) {
if ( !link.href )
return new Array();
return parseQueryString( link.href.split( "?" ).pop() );
}