Correct minor problems with previous commit.
[gssweb.git] / chrome / app / navigator.gss.js
index 7af3b44..01ad32e 100644 (file)
@@ -88,7 +88,7 @@ var GSSEap = (function ()
         // - name
         // - success()
         if ( "undefined" == typeof(name) ||
-             "undefined" == typeof(success) )
+             "undefined" == typeof(callback) )
         {
           this.error(-1, -1, 
             "import_name called missing either name or success callback"