trac750 Removed psychotic FB redirect hack. Found a better way with document.setLocation()

This commit is contained in:
Zach Copley
2009-01-18 21:08:56 +00:00
parent 8fdf888edb
commit aea172bee0
2 changed files with 7 additions and 14 deletions

View File

@@ -15,11 +15,4 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// Psycho Facebook redirect hack, used because 'document.location'
// simply does not work in FBJS
function redirectSettings() {
form = document.getElementById('redirect_form');
form.setAction('settings.php');
form.submit();
}