You are here

function arrange_fields_popup_close_window in Arrange Fields 6

Same name and namespace in other branches
  1. 7 arrange_fields.module \arrange_fields_popup_close_window()

After the popup_edit_field has been submitted, the user comes to this page, which simply instructs them to click a button which will make the opener page save itself. This is necessary, or the changes the user made in the popup will not be reflected on the page!

Return value

string

1 string reference to 'arrange_fields_popup_close_window'
arrange_fields_menu in ./arrange_fields.module
Implementation of hook_menu().

File

./arrange_fields.module, line 633

Code

function arrange_fields_popup_close_window() {
  jquery_ui_add(array(
    'ui.draggable',
    'ui.dialog',
    'ui.resizable',
  ));
  drupal_add_js(drupal_get_path("module", "arrange_fields") . "/js/arrange_fields.js");
  $rtn .= "<div style='text-align: center;'>\n            <input type='button' value='" . t("Close and Save/Reload Main Window") . "'\n            onClick='arrangeFieldsClosePopup()'>\n           </div>";
  return $rtn;
}