Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No quick edit?
04-14-2012, 03:49 AM
Post: #1
No quick edit?
hello, for my forum, when i want to edit a post, there is no option to do a quick edit. It redirects me to a full edit.

This is what i have for my postbit_edit
Code:
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"class="postbit">edit</a>
Any help is appreciated =)
find
quote
04-15-2012, 12:59 AM
Post: #2
RE: No quick edit?
Does javascript work on other parts of your forum?
www find
quote
04-15-2012, 09:24 AM
Post: #3
RE: No quick edit?
yes, javascript works on other parts of the forum
find
quote
04-16-2012, 01:03 AM
Post: #4
RE: No quick edit?
Well you definitely got rid of the javascript code:
Code:
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}" class="postbit">edit</a>

<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("edit_post_{$post['pid']}");
    }
// -->
</script>

Try this.
www find
quote
04-16-2012, 09:11 AM
Post: #5
RE: No quick edit?
(04-16-2012 01:03 AM)Peter L Wrote:  Well you definitely got rid of the javascript code:
Code:
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}" class="postbit">edit</a>

<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
    if(use_xmlhttprequest == "1")
    {
        new PopupMenu("edit_post_{$post['pid']}");
    }
// -->
</script>

Try this.
Thank you! It works =)
find
quote


Forum Jump:


User(s) browsing this thread: 1 Guest(s)


MyBB Addict | Contact Us | Return to Top | Return to Content | Mobile Version | RSS Syndication