simplify
--HG-- extra : rebase_source : 4bf414bce486565a29ca928e77b55f6d2a55718d
This commit is contained in:
parent
3a61b70445
commit
168ba3994e
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue