Changes for page For Developers


From version 14.1
edited by Artur
on 2025/07/24 17:15
Change comment: There is no comment for this version
To version 13.1
edited by Artur
on 2025/07/24 17:14
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -11,7 +11,7 @@
11 11   parentTd = $btn.closest('dd');
12 12  }
13 13   // Ищем freestanding-ссылку
14 - var uri = parentTd.find('a').attr('href');
14 + var uri = parentTd.find('a.wikimodel-freestanding').attr('href');
15 15   if (!uri) {
16 16   return alert('Не найден исходный URI для запроса.');
17 17   }