From 60bcd3bdefa917ffc20a64f05e7f0ec91687ad53 Mon Sep 17 00:00:00 2001 From: xia0ta0 Date: Wed, 25 Jun 2014 11:37:06 +0800 Subject: [PATCH] * adjust local image upload to tab1. --- www/js/kindeditor/plugins/image/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/kindeditor/plugins/image/image.js b/www/js/kindeditor/plugins/image/image.js index 658e104915..011687bf8c 100755 --- a/www/js/kindeditor/plugins/image/image.js +++ b/www/js/kindeditor/plugins/image/image.js @@ -103,7 +103,7 @@ KindEditor.plugin('image', function(K) { return; } // insert local image - if (showLocal && showRemote && tabs && tabs.selectedIndex === 1 || !showRemote) { + if (showLocal && showRemote && tabs && tabs.selectedIndex === 0 || !showRemote) { if (uploadbutton.fileBox.val() == '') { alert(self.lang('pleaseSelectFile')); return;