Commit 95de92b4 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug #30658

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65506 954022d7-b5bf-4e40-9824-e11837661b57
parent c684304d
...@@ -3249,7 +3249,7 @@ CCellValue.prototype = ...@@ -3249,7 +3249,7 @@ CCellValue.prototype =
while (0 < endIndex && ('\n' === val[endIndex] || ' ' === val[endIndex])) { while (0 < endIndex && ('\n' === val[endIndex] || ' ' === val[endIndex])) {
--endIndex; --endIndex;
} }
var sRealUrl = val.slice(0, endIndex); var sRealUrl = val.slice(0, endIndex + 1);
if (-1 === sRealUrl.indexOf('\n')) { if (-1 === sRealUrl.indexOf('\n')) {
if (0 != val.indexOf("http://") && 0 != val.indexOf("https://")) { if (0 != val.indexOf("http://") && 0 != val.indexOf("https://")) {
sRealUrl = "http://" + sRealUrl; sRealUrl = "http://" + sRealUrl;
......
...@@ -537,7 +537,7 @@ ...@@ -537,7 +537,7 @@
self.handlers.trigger("asc_onSheetsChanged"); self.handlers.trigger("asc_onSheetsChanged");
}); });
this.handlers.add("asc_onLockDefNameManager",function(reason){self.defNameAllowCreate = !(reason == c_oAscDefinedNameReason.LockDefNameManager);}) this.handlers.add("asc_onLockDefNameManager",function(reason){self.defNameAllowCreate = !(reason == c_oAscDefinedNameReason.LockDefNameManager);});
this.cellCommentator = new CCellCommentator({ this.cellCommentator = new CCellCommentator({
model: new WorkbookCommentsModel(this.handlers), model: new WorkbookCommentsModel(this.handlers),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment