Index: img_assist.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/img_assist/img_assist.module,v
retrieving revision 1.68
diff -U3 -r1.68 img_assist.module
--- img_assist.module	13 Feb 2007 22:54:39 -0000	1.68
+++ img_assist.module	16 Feb 2007 14:59:21 -0000
@@ -552,18 +552,12 @@
  * Interface and controller for adding images. It simply calls node_add('image');
  */
 function img_assist_upload() {
-
 	if (module_exists('image') && user_access('create images')) {
 		$edit = $_POST['edit'];
 		$op = $_POST['op'];

-		switch ($op) {
-			case t('Submit'):
-				$output .= img_assist_node_add('image', $op); // use a custom function so we can control the redirect
-				break;
-			default:
-				$output .= node_add('image'); // use default node_add function
-		}
+		$output .= img_assist_node_add('image'); // use a custom function so we can control the redirect
+
 		// on other img_assist_pages I've added the javascript using the body onload attribute,
 		// but for this page will also need the collapse functions and setting the body onload
 		// interferes with this.  To solve this, I'm forced use the addLoadEvent call.  I should
