--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) {
$.ajax({
url: "epubfs.php?comp=" + componentId,
type: 'get'
, dataType: 'text'
, error: function () {alert ("error");}
, success: function (data, textStatus, jqXHR ) {
//alert (textStatus);
//alert (data);
callback (data);
}
type: 'get',
dataType: 'text',
error: function () {alert ("error");},
success: callback
});
},
getMetaData: function(key) {