Commit b4e85b74 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

use this.sipDataAttribute instead of magic constant.

parent 05f125a6
...@@ -35,7 +35,7 @@ if (!QfqNS) { ...@@ -35,7 +35,7 @@ if (!QfqNS) {
throw new Error($recordElement.length + ' match(es) found for record class'); throw new Error($recordElement.length + ' match(es) found for record class');
} }
var sip = $eventTarget.data('sip'); var sip = $eventTarget.data(this.sipDataAttribute);
if (!sip) { if (!sip) {
throw new Error('No `sip` on delete button'); throw new Error('No `sip` on delete button');
......
Supports Markdown
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