* adjust local image upload to tab1.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user