mit-eecs / issue-tracker

Scripts Issue Tracker
0 stars 0 forks source link

Cannot enter a new staff from eduportal #61

Closed samanamarasinghe closed 11 years ago

samanamarasinghe commented 11 years ago

Now it works ... sort of. Once you enter the data, if there is an error, the page will re refreshed accordingly. However, if the entry goes through, instead of updating the list of names, it goes to a different top level page.

if (data == "success") {
    window.location.reload();
  } else {
    $("#st_info").html(data);
  }

I think in here need to load a frame explicitly instead of doing the windows.location.reload() This also affects eduoffice_faculty_new (and may be many others, grep for windows.location.reload)

samanamarasinghe commented 11 years ago

By adding a title in to the

  • for toplevel-tabbar, you can greate a div with that name. Then you can redirect the loading of the returned page into the corresponding div

  • samanamarasinghe commented 11 years ago

    Go over the entire application where there is a POST, need to check 1) if the post goes to the right page 2) return updates the right level