mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +00:00
Fix #1686 : Fix jquery ui usage
This commit is contained in:
@@ -601,9 +601,6 @@
|
|||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
var dialog = p4.Dialog.get(1);
|
var dialog = p4.Dialog.get(1);
|
||||||
var tabs = $('.tabs', dialog.getDomElement());
|
var tabs = $('.tabs', dialog.getDomElement());
|
||||||
if (tabs.data('ui-tabs')) {
|
|
||||||
tabs.tabs('active',1);
|
|
||||||
}
|
|
||||||
|
|
||||||
$('a.TOUview').bind('click', function(){
|
$('a.TOUview').bind('click', function(){
|
||||||
var options = {
|
var options = {
|
||||||
@@ -666,9 +663,7 @@
|
|||||||
$('input[name="destmail"]', $('#sendmail')).val("{{app['authentication'].getUser().get_email()}}");
|
$('input[name="destmail"]', $('#sendmail')).val("{{app['authentication'].getUser().get_email()}}");
|
||||||
|
|
||||||
var tabs = $('.tabs', dialog.getDomElement());
|
var tabs = $('.tabs', dialog.getDomElement());
|
||||||
if (tabs.data('ui-tabs')) {
|
tabs.tabs("option", "active", 1);
|
||||||
tabs.tabs('active',1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user