add mime type
This commit is contained in:
@@ -33,12 +33,15 @@
|
||||
function justaddc(){
|
||||
let id = $("#addidc").val();
|
||||
let content = $("#addcontentc").val();
|
||||
let type = "normal";
|
||||
type = $("#addtypec").val();
|
||||
$.post("api.php",
|
||||
{
|
||||
action: "setcontent",
|
||||
password: password,
|
||||
id: id,
|
||||
content: content,
|
||||
type: type,
|
||||
}, function( data ) {
|
||||
getcontents();
|
||||
});
|
||||
|
Reference in New Issue
Block a user