|
@ -281,11 +281,8 @@ export function initialSheetBar(){ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(txt.length>31 || txt.charAt(0)=="'" || txt.charAt(txt.length-1)=="'" || /[:\:\\\/?\?\*\[\]]+/.test(txt)){ |
|
|
if(txt.length>31 || txt.charAt(0)=="'" || txt.charAt(txt.length-1)=="'" || /[:\:\\\/?\?\*\[\]]+/.test(txt)){ |
|
|
alert(locale_sheetconfig.sheetNameSpecCharError); |
|
|
tooltip.info("", locale_sheetconfig.sheetNameSpecCharError); |
|
|
setTimeout(()=>{ |
|
|
$t.text(oldtxt).attr("contenteditable", "false"); |
|
|
luckysheetsheetnameeditor($(this)); |
|
|
|
|
|
$(this).focus(); |
|
|
|
|
|
}, 1); |
|
|
|
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|