|
|
@ -114,7 +114,7 @@
|
|
|
|
;
|
|
|
|
;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
function eval_ajax (xhr, textStatus) {
|
|
|
|
function eval_ajax(xhr, textStatus) {
|
|
|
|
if (textStatus == 'success') {
|
|
|
|
if (textStatus == 'success') {
|
|
|
|
eval(xhr.responseText);
|
|
|
|
eval(xhr.responseText);
|
|
|
|
} else if (textStatus == 'error') {
|
|
|
|
} else if (textStatus == 'error') {
|
|
|
@ -128,7 +128,7 @@
|
|
|
|
type: "POST",
|
|
|
|
type: "POST",
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
type: encodeURIComponent(value),
|
|
|
|
type: encodeURIComponent(value),
|
|
|
|
contentType:$('#attach_sufix_browse').val()
|
|
|
|
contentType: $('#attach_sufix_browse').val()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}).complete(eval_ajax);
|
|
|
|
}).complete(eval_ajax);
|
|
|
@ -190,18 +190,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script type='text/javascript'>
|
|
|
|
<script type='text/javascript'>
|
|
|
|
function tagAddClick(divid,objId,objTag)
|
|
|
|
function tagAddClick(divid, objId, objTag) {
|
|
|
|
{
|
|
|
|
|
|
|
|
alert("OK");
|
|
|
|
alert("OK");
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
type :"POST",
|
|
|
|
type: "POST",
|
|
|
|
url :'/users/tag_saveEx',
|
|
|
|
url: '/users/tag_saveEx',
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
tagname: $('tag_name').value,
|
|
|
|
tagname: $('tag_name').value,
|
|
|
|
obj_id: encodeURIComponent(objId),
|
|
|
|
obj_id: encodeURIComponent(objId),
|
|
|
|
obj_flag:encodeURIComponent(objTag)
|
|
|
|
obj_flag: encodeURIComponent(objTag)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function(data, textStatus){
|
|
|
|
success: function (data, textStatus) {
|
|
|
|
alert("OK");
|
|
|
|
alert("OK");
|
|
|
|
$(divid).empty();
|
|
|
|
$(divid).empty();
|
|
|
|
$(divid).html('123');
|
|
|
|
$(divid).html('123');
|
|
|
|