Remove code and template responsible for subsection edit page

This commit is contained in:
Tim Babych
2014-07-24 14:55:10 +03:00
committed by cahrens
parent 819c94688a
commit 8d0e469cd3
13 changed files with 13 additions and 1055 deletions

View File

@@ -258,11 +258,6 @@ function objectTagForFlashCamera(name) {
}
}
function linkNewWindow(e) {
window.open($(e.target).attr('href'));
e.preventDefault();
}
function waitForFlashLoad(func, flash_object) {
if(!flash_object.hasOwnProperty('percentLoaded') || flash_object.percentLoaded() < 100){
setTimeout(function() {
@@ -334,6 +329,9 @@ $(document).ready(function() {
analytics.pageview("Capture Face Photo");
initSnapshotHandler(["photo_id", "face"], hasHtml5CameraSupport);
$('a[rel="external"]').attr('title', gettext('This link will open in a new browser window/tab')).bind('click', linkNewWindow);
$('a[rel="external"]').attr({
title: gettext('This link will open in a new browser window/tab'),
target: '_blank'
});
});