~divmod-dev/divmod.org/request-uri-2562

« back to all changes in this revision

Viewing changes to Nevow/nevow/js/Nevow/Athena/__init__.js

  • Committer: pjd
  • Date: 2008-03-24 16:27:18 UTC
  • Revision ID: svn-v4:866e43f7-fbfc-0310-8f2a-ec88d1da2979:trunk:15202
Merge cleanup-2551

Author: pjd
Reviewer: washort
Fixes #2551

This corrects a number of typos and other miscellaneous problems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
309
309
 
310
310
    /**
311
311
     * Display an error dialog to the user, containing some information
312
 
     * about the uncaught error C{err}, which occured while trying to call
 
312
     * about the uncaught error C{err}, which occurred while trying to call
313
313
     * the remote method C{methodName}.  To avoid this happening, errbacks
314
314
     * should be added synchronously to the deferred returned by L{callRemote}
315
315
     * (the errback that triggers this dialog is added via setTimeout(..., 0))
338
338
        e.appendChild(titlebar);
339
339
 
340
340
        e.appendChild(
341
 
            document.createTextNode("Your action could not be completed because an error occured."));
 
341
            document.createTextNode("Your action could not be completed because an error occurred."));
342
342
 
343
343
// Useful for debugging sometimes, except it really isn't very pretty.
344
344
// toPrettyNode needs unit tests or something, though.