2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php, include/functions_profile.php, operation/events/events_list.php: changed in jQuery the deprecated function evalJSON for parseJSON. Fixes: #3604536 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
eb61caadac
commit
f22306fea3
|
@ -1,3 +1,11 @@
|
|||
2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager_editor_common.php,
|
||||
include/functions_profile.php, operation/events/events_list.php:
|
||||
changed in jQuery the deprecated function evalJSON for parseJSON.
|
||||
|
||||
Fixes: #3604536
|
||||
|
||||
2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/massive/massive_operations.php,
|
||||
|
|
|
@ -455,7 +455,7 @@ $(document).ready (function () {
|
|||
|
||||
$("#id_module_type").change(function () {
|
||||
var type_selected = $(this).val();
|
||||
var type_names = jQuery.evalJSON(Base64.decode($('#hidden-type_names').val()));
|
||||
var type_names = jQuery.parseJSON(Base64.decode($('#hidden-type_names').val()));
|
||||
|
||||
var type_name_selected = type_names[type_selected];
|
||||
|
||||
|
|
|
@ -76,14 +76,15 @@ function profile_create_user_profile ($id_user, $id_profile = 1, $id_group = 0,
|
|||
// Checks if the user exists
|
||||
$result_user = users_get_user_by_id($id_user);
|
||||
|
||||
if (!$result_user){
|
||||
if (!$result_user) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isset ($config["id_user"])) {
|
||||
//Usually this is set unless we call it while logging in (user known by auth scheme but not by pandora)
|
||||
$assign = $config["id_user"];
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
$assign = $id_user;
|
||||
}
|
||||
|
||||
|
|
|
@ -945,7 +945,7 @@ function reorder_tags_inputs() {
|
|||
|
||||
|
||||
tags_base64 = $("#hidden-tag_with").val();
|
||||
tags = jQuery.evalJSON(Base64.decode(tags_base64));
|
||||
tags = jQuery.parseJSON(Base64.decode(tags_base64));
|
||||
jQuery.each(tags, function(key, element) {
|
||||
if ($("#select_with option[value='" + element + "']").length == 1) {
|
||||
text = $("#select_with option[value='" + element + "']").text();
|
||||
|
@ -977,7 +977,7 @@ function reorder_tags_inputs() {
|
|||
|
||||
|
||||
tags_base64 = $("#hidden-tag_without").val();
|
||||
tags = jQuery.evalJSON(Base64.decode(tags_base64));
|
||||
tags = jQuery.parseJSON(Base64.decode(tags_base64));
|
||||
jQuery.each(tags, function(key, element) {
|
||||
if ($("#select_without option[value='" + element + "']").length == 1) {
|
||||
text = $("#select_without option[value='" + element + "']").text();
|
||||
|
|
Loading…
Reference in New Issue