--HG--
extra : rebase_source : 4bf414bce486565a29ca928e77b55f6d2a55718d
This commit is contained in:
Sébastien Lucas 2013-05-15 13:41:08 +02:00
parent 3a61b70445
commit 168ba3994e

View file

@ -35,14 +35,10 @@ $book->initSpineComponent ();
getComponent: function (componentId, callback) { getComponent: function (componentId, callback) {
$.ajax({ $.ajax({
url: "epubfs.php?comp=" + componentId, url: "epubfs.php?comp=" + componentId,
type: 'get' type: 'get',
, dataType: 'text' dataType: 'text',
, error: function () {alert ("error");} error: function () {alert ("error");},
, success: function (data, textStatus, jqXHR ) { success: callback
//alert (textStatus);
//alert (data);
callback (data);
}
}); });
}, },
getMetaData: function(key) { getMetaData: function(key) {