Give the Post button its own id.
This commit is contained in:
@@ -129,7 +129,7 @@ if (isset($file_src) || isset($img)) {
|
|||||||
echo '<button type="submit" id="submit" name="action" value="submit">'.$submit_text.'</button>';
|
echo '<button type="submit" id="submit" name="action" value="submit">'.$submit_text.'</button>';
|
||||||
}
|
}
|
||||||
if (($id || $action == "edit") || $is_admin) {
|
if (($id || $action == "edit") || $is_admin) {
|
||||||
echo '<button type="submit" id="submit" name="action" value="post">Post!</button>';
|
echo '<button type="submit" id="post" name="action" value="post">Post!</button>';
|
||||||
if ($id && $is_admin)
|
if ($id && $is_admin)
|
||||||
echo '<button type="submit" onclick="javascript:return do_delete();" id="delete" name="action" value="delete">Delete</button>';
|
echo '<button type="submit" onclick="javascript:return do_delete();" id="delete" name="action" value="delete">Delete</button>';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user