(ed, side, url)
| 477 | } |
| 478 | |
| 479 | function crossdomainGET(ed, side, url) { |
| 480 | $.ajax({ |
| 481 | type: 'GET', dataType: 'text', |
| 482 | data: {url: url}, |
| 483 | url: '/ajax/handle_crossdomain.php', |
| 484 | contentType: 'text/plain', |
| 485 | success: function (response) { |
| 486 | ed.mergely(side, response); |
| 487 | }, |
| 488 | error: function(xhr, ajaxOptions, thrownError){ |
| 489 | console.error('error', xhr, ajaxOptions, thrownError); |
| 490 | } |
| 491 | }); |
| 492 | } |
| 493 | |
| 494 | function importFiles(ed) { |
| 495 | // ------------- |