[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12410] change order of the parameters in execute_aja
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12410] change order of the parameters in execute_ajax() |
Date: |
Tue, 02 Dec 2014 17:02:21 +0000 |
Revision: 12410
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12410
Author: nelson224
Date: 2014-12-02 17:02:20 +0000 (Tue, 02 Dec 2014)
Log Message:
-----------
change order of the parameters in execute_ajax()
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.uitts.inc.php
Modified: branches/dev-syncromind/property/inc/class.uitts.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uitts.inc.php 2014-12-02
17:01:19 UTC (rev 12409)
+++ branches/dev-syncromind/property/inc/class.uitts.inc.php 2014-12-02
17:02:20 UTC (rev 12410)
@@ -648,14 +648,14 @@
$code = '
var link = "'.$link.'";
var data = {"district_id":
$(this).val()};
- execute_ajax(link, "GET", "json", data,
+ execute_ajax(link,
function(result){
var $el =
$("#part_of_town_id");
$el.empty();
$.each(result,
function(key, value) {
$el.append($("<option></option>").attr("value", value.id).text(value.name));
});
- }
+ }, data, "GET", "json"
);
';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12410] change order of the parameters in execute_ajax(),
Nelson Guerra <=