Anonymous committed 28aa736

Fixed comment deleting problem (stripped table_prefix)

Comments (0)

Files changed (2)

 			# execute query
 			# using SQL because Storm manual is incomplete...
-"DELETE FROM `%scomments` WHERE id_ IN (%s)" % (config.database.table_prefix, id_),
-			noresult=True)
+"DELETE FROM `comments` WHERE id_ IN (%s)" % id_, noresult=True)
 			web.webapi.header("Content-Type","text/html; charset=utf-8") 
 			page_html = '<em class="confirmation">deleted</em>'
-					"action":"%s%s/%s/%s/%s" % (config.general.base_url, date[0], date[1], date[2], article.url_id),
+					"action":"%s%s/%s/%s/%s.html" % (config.general.base_url, date[0], date[1], date[2], article.url_id),
 					"tags": article.tags,


 jQuery(".add_content_here .expand").click(function(event){
-	jQuery(".add_content_here form").toggle("slow");
+	jQuery(".add_content_here form").toggle("fast");
 	jQuery(".add_content_here span.label").toggleClass("activated");
 			var answer = confirm("Cancel these changes?")
 			if (answer) {
+				jQuery("div.article").toggle('fast')
+				jQuery("div.article").toggle('fast')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.