Quick patch to 0.3.3

I just found a small bug in the new version. Then adding a new article (not a blog entry), the LBCode buttons will actually submit the form. Needless to say, that's not what's supposed to happen.

I have uploaded a new zip file for version 0.3.3, so if you haven't downloaded it yet, don't worry about it. The only people who will be affected are those who downloaded it between the release announcement and now.

The fix is just a single line in one template. Just download this zip file and extract it to your LnBlog/themes/default/templates directory. Just overwrite the old file.

Alternatively, if you don't feel like messing with the zip file, open up the
LnBlog/themes/default/templates/article_edit_tpl.php file in your favorite text editor and find line 9, which should look like this:
<?php include("js_editor.php"); ?>
Simply cut-and-paste this to move it one line up, to line 8. That will put it between the <fieldset> and <form> tags, which will keep it from submitting the form.

You can reply to this entry by leaving a comment below. This entry accepts Pingbacks from other blogs.

Add your comments #

A comment body is required. No HTML code allowed. URLs starting with http:// or ftp:// will be automatically converted to hyperlinks.