mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
Update URL to be relatives
This commit is contained in:
@@ -222,7 +222,7 @@ function editField(evt, meta_struct_id)
|
|||||||
minLength: 2,
|
minLength: 2,
|
||||||
source: function( request, response ) {
|
source: function( request, response ) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/prod/records/edit/vocabulary/' + vocabType + '/',
|
url: '../prod/records/edit/vocabulary/' + vocabType + '/',
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
data: {
|
data: {
|
||||||
sbas_id: p4.edit.sbas_id,
|
sbas_id: p4.edit.sbas_id,
|
||||||
@@ -249,7 +249,7 @@ function editField(evt, meta_struct_id)
|
|||||||
|
|
||||||
$('#idEditZTextArea, #EditTextMultiValued').bind('keyup.maxLength', function(){
|
$('#idEditZTextArea, #EditTextMultiValued').bind('keyup.maxLength', function(){
|
||||||
var remaining = Math.max((p4.edit.T_fields[meta_struct_id].maxLength - $(this).val().length), 0);
|
var remaining = Math.max((p4.edit.T_fields[meta_struct_id].maxLength - $(this).val().length), 0);
|
||||||
idexplain.html("<span class='metadatas_restrictionsTips' tooltipsrc='/prod/tooltip/metas/restrictionsInfos/"+p4.edit.sbas_id+"/"+meta_struct_id+"/'><img src='/skins/icons/help32.png' /><!--<img src='/skins/icons/alert.png' />--> Caracteres restants : "+(remaining)+"</span>");
|
idexplain.html("<span class='metadatas_restrictionsTips' tooltipsrc='../prod/tooltip/metas/restrictionsInfos/"+p4.edit.sbas_id+"/"+meta_struct_id+"/'><img src='/skins/icons/help32.png' /><!--<img src='/skins/icons/alert.png' />--> Caracteres restants : "+(remaining)+"</span>");
|
||||||
$('.metadatas_restrictionsTips', idexplain).tooltip();
|
$('.metadatas_restrictionsTips', idexplain).tooltip();
|
||||||
}).trigger('keyup.maxLength');
|
}).trigger('keyup.maxLength');
|
||||||
}
|
}
|
||||||
@@ -1185,7 +1185,7 @@ function edit_applyMultiDesc(evt)
|
|||||||
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url :"/prod/records/edit/apply/"
|
url :"../prod/records/edit/apply/"
|
||||||
,
|
,
|
||||||
data : options
|
data : options
|
||||||
// ,dataType:'json'
|
// ,dataType:'json'
|
||||||
|
Reference in New Issue
Block a user