|
|
@@ -267,23 +267,6 @@ Index: sites/all/modules/tinymce/plugin_reg.php
|
|
|
return $plugins;
|
|
|
}
|
|
|
|
|
|
------------------------------------------------------------------------------
|
|
|
-
|
|
|
-Fix SQL in "remove" functionality of "img_assist" module.
|
|
|
-http://drupal.org/node/250128
|
|
|
-
|
|
|
-Index: sites/all/modules/img_assist/img_assist.module
|
|
|
---- sites/all/modules/img_assist/img_assist.module.orig 2008-04-06 19:32:33 +0200
|
|
|
-+++ sites/all/modules/img_assist/img_assist.module 2008-05-02 21:00:24 +0200
|
|
|
-@@ -1239,7 +1239,7 @@
|
|
|
- }
|
|
|
-
|
|
|
- function _img_assist_remove($node, $size) {
|
|
|
-- $result = db_query("SELECT * FROM {files} f INNER JOIN {image} i WHERE f.fid = i.fid AND i.nid = %d AND f.filename = '%s'", $node->nid, $size['key']);
|
|
|
-+ $result = db_query("SELECT * FROM {files} f INNER JOIN {image} ON f.fid = i.fid WHERE i.nid = %d AND f.filename = '%s'", $node->nid, $size['key']);
|
|
|
- while ($file = db_fetch_object($result)) {
|
|
|
- // Never delete original image.
|
|
|
- if ($file->filepath != $node->images[IMAGE_ORIGINAL]) {
|
|
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
|
@@ -344,7 +327,7 @@ Index: sites/all/modules/img_assist/img_assist_popup.js
|
|
|
--- /dev/null 2008-05-02 21:08:21 +0200
|
|
|
+++ sites/all/modules/img_assist/img_assist_popup.js 2008-05-02 21:05:56 +0200
|
|
|
@@ -0,0 +1,20 @@
|
|
|
-+/* $Id: drupal.patch,v 1.32 2008/10/11 07:18:03 rse Exp $ */
|
|
|
++/* $Id: drupal.patch,v 1.33 2008/10/15 18:04:40 rse Exp $ */
|
|
|
+
|
|
|
+function launch_popup(nid, mw, mh) {
|
|
|
+ var ox = mw;
|