Commit 3339d9f8 authored by Xiaowu Zhang's avatar Xiaowu Zhang

fix bug: post with quotaError

parent 40c8a850
...@@ -234,6 +234,8 @@ ...@@ -234,6 +234,8 @@
modified: g.metadata.modified, modified: g.metadata.modified,
date: g.metadata.date, date: g.metadata.date,
time: timeFormat(g.audio.duration) time: timeFormat(g.audio.duration)
}).fail(function(e) {
return;
}); });
} }
} else { } else {
...@@ -262,6 +264,8 @@ ...@@ -262,6 +264,8 @@
modified: g.metadata.modified, modified: g.metadata.modified,
date: g.metadata.date, date: g.metadata.date,
time: timeFormat(g.audio.duration) time: timeFormat(g.audio.duration)
}).fail(function(e) {
return;
}); });
} }
return; return;
......
...@@ -315,7 +315,10 @@ ...@@ -315,7 +315,10 @@
"picture" : g.metadata.picture, "picture" : g.metadata.picture,
"modified" : g.metadata.modified, "modified" : g.metadata.modified,
"date" : g.metadata.date, "date" : g.metadata.date,
"time": timeFormat(g.audio.duration)}); "time": timeFormat(g.audio.duration)})
.fail(function (e) {
return;
});
} }
} else { } else {
g.sourceBuffer.appendBuffer(new Uint8Array(g.buffer)); g.sourceBuffer.appendBuffer(new Uint8Array(g.buffer));
...@@ -344,7 +347,10 @@ ...@@ -344,7 +347,10 @@
"picture" : g.metadata.picture, "picture" : g.metadata.picture,
"modified" : g.metadata.modified, "modified" : g.metadata.modified,
"date" : g.metadata.date, "date" : g.metadata.date,
"time": timeFormat(g.audio.duration)}); "time": timeFormat(g.audio.duration)})
.fail(function (e) {
return;
});
} }
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment