Skip to content
Snippets Groups Projects
Commit d80d62d1 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Null fix for pul #290.

parent 484716d0
No related merge requests found
......@@ -152,7 +152,7 @@ function ajaxLoadTab(tabid) {
var id = $('.hiddenId')[0].value;
// Grab the part of the url that is the Controller and Record ID
var urlroot = document.URL.match(new RegExp('/[^/]+/'+id));
if(urlroot == "null/") {
if(!urlroot) {
return true;
}
$.ajax({
......
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