×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    9

    AJAX - 1012 Error - in Aptana Preview

    Has anybody actually managed to get Aptana studio WRT preview working with AJAX requests?

    Can't get it to work for love nor money. I've tried overwriting the various security settings in firefox with about:config but it's not helped me a bit...

    I can deal with that for basic requests, but I'm writing something with a bit more server interaction and without AJAX in the preview I'm mostly stuffed...

    Cheers guys.,
    Dave

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: AJAX - 1012 Error - in Aptana Preview

    Hi Dave,

    just to be sure, have you added those lines before the XMLHttpRequest open() call?

    Code:
    if (netscape.security.PrivilegeManager.enablePrivilege) 
    	netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
    Pit

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    9

    Re: AJAX - 1012 Error - in Aptana Preview

    Quote Originally Posted by jappit View Post
    Hi Dave,

    just to be sure, have you added those lines before the XMLHttpRequest open() call?

    Code:
    if (netscape.security.PrivilegeManager.enablePrivilege) 
    	netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
    Pit
    Fraid so

Similar Threads

  1. Replies: 14
    Last Post: 2009-02-16, 14:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×