diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-07 16:43:48 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-07 16:43:48 +0000 |
commit | 5ebfb769b6f05e4d606f4d94d6c6e9d9104b7973 (patch) | |
tree | 5affc75c8ae0eec7c0a68de5ea2e48f6864f4ae0 /mod/profile/views/default | |
parent | 0503488741f3f05f0b01f87e038884f95817af44 (diff) | |
download | elgg-5ebfb769b6f05e4d606f4d94d6c6e9d9104b7973.tar.gz elgg-5ebfb769b6f05e4d606f4d94d6c6e9d9104b7973.tar.bz2 |
Fixed incorrect casting to int for profile ids.
Fixed incorrect URL for reordering.
git-svn-id: http://code.elgg.org/elgg/trunk@5656 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r-- | mod/profile/views/default/profile/editdefaultprofileitems.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/editdefaultprofileitems.php b/mod/profile/views/default/profile/editdefaultprofileitems.php index 8a99b08dc..403943d23 100644 --- a/mod/profile/views/default/profile/editdefaultprofileitems.php +++ b/mod/profile/views/default/profile/editdefaultprofileitems.php @@ -26,7 +26,7 @@ $(document).ready(function() { $save = elgg_echo('save');
$cancel = elgg_echo('cancel');
- $url = elgg_add_action_tokens_to_url("{$vars['url']}action/profile/editdefault/editfield", FALSE);
+ $edit_url = elgg_add_action_tokens_to_url("{$vars['url']}action/profile/editdefault/editfield", FALSE);
foreach($vars['items'] as $item) {
echo <<< END
@@ -34,7 +34,7 @@ $(document).ready(function() { <script language="javascript" type="text/javascript">
$(function() {
- $(".{$item->shortname}_editable").editable("$url", {
+ $(".{$item->shortname}_editable").editable("$edit_url ", {
type : 'text',
submitdata: { _method: "post", 'field': '{$item->shortname}' },
onblur: 'submit',
|