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

fix bug: post with quotaError

parent 40c8a850
......@@ -234,6 +234,8 @@
modified: g.metadata.modified,
date: g.metadata.date,
time: timeFormat(g.audio.duration)
}).fail(function(e) {
return;
});
}
} else {
......@@ -262,6 +264,8 @@
modified: g.metadata.modified,
date: g.metadata.date,
time: timeFormat(g.audio.duration)
}).fail(function(e) {
return;
});
}
return;
......
......@@ -315,7 +315,10 @@
"picture" : g.metadata.picture,
"modified" : g.metadata.modified,
"date" : g.metadata.date,
"time": timeFormat(g.audio.duration)});
"time": timeFormat(g.audio.duration)})
.fail(function (e) {
return;
});
}
} else {
g.sourceBuffer.appendBuffer(new Uint8Array(g.buffer));
......@@ -344,7 +347,10 @@
"picture" : g.metadata.picture,
"modified" : g.metadata.modified,
"date" : g.metadata.date,
"time": timeFormat(g.audio.duration)});
"time": timeFormat(g.audio.duration)})
.fail(function (e) {
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