After configuring listview search, and a user hits the enter key, it goes into edit mode
AnsweredAfter configuring listview search, and a user hits the enter key, it goes into edit mode
-
Are there some url parameters that could influence your submit? Like "displaymode=design" or "?ToolPaneView=2" that would redirect your page to Edit Mode.
If the problem still exists, please create a ticket by sending us an email to support@skybow.com - then we will contact you to make a short session to detect what the reason for this behaviour is.
0 -
As discovered in online support session the error occurs due to some custom scripting. To fix this issue you should follow this steps:
- Navigate to [SiteURL]/sbListViewSearch.
- Open Scripts folder.
- Download sb_lvs_Runtime.js file.
- Open this file and add provided below code snippet to the end of the file.
- Upload file to the Scripts folder.
Patch:
;LVS.skybow.SearchCriteria.FieldInputEventHandler.prototype.ApplyEvents = function(fieldName, fieldDataManager){
var _this = this;
var element = this.Element;
element.on('keypress', function (event) {
if (event.keyCode === 13) {
if (_this.Timeout)
clearTimeout(_this.Timeout);
event.preventDefault();
LVS.skybow.SearchCriteria.CommandHandler.FireCommand(LVSjQuery(event.target), LVS.skybow.SearchCriteria.SearchButton.SearchCommandAlias);
}
});
}0 -
I had a similar issue with List View Search. After entering a value and hitting the enter key, the site searched, found the items and reloaded the whole website.
I could resolve it with the same Patch as Markiyan did, but I had to replace "LVSjQuery" with just "jQuery".
0 -
Hello Markiyan Fostyak
I could solve the problem with your code. But only in LVS version 1.3.7.5
I have now LVS version 1.3.7.7 and this code works any more. Furtermore if I add this code to my script the LVS don't work any more.
Can you please help me in this case?
Kind regards
Nicole
0 -
Hi Nicole Geier
We cannot reproduce your issue. Can you please write to support@skybow.com and provide more info about your issue (SP version, console errors, what exactly is not working).
Best Regards
Taras Lozynskyy0 -
Hi Taras Lozynskyy,
I could solve it. I had delete the add-in and all the folders of it.
Now after adding it once again and update it with the code. the workaround works also with version 1.3.7.7
Kind regards
Nicole
0
Please sign in to leave a comment.
Comments
6 comments