Skip to content
Snippets Groups Projects
Commit 9c22e437 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX ts view

parent a08da959
No related branches found
No related tags found
No related merge requests found
...@@ -3,18 +3,13 @@ import { Http } from '@angular/http'; ...@@ -3,18 +3,13 @@ import { Http } from '@angular/http';
import 'rxjs/add/operator/map'; import 'rxjs/add/operator/map';
declare function $j(selector: any) : any; declare function $j(selector: any) : any;
declare function disablePrototypeJS(method: string, plugins: any) : any;
declare function createModal(a: string, b: string, c: string, d: string) : any;
declare function autocomplete(a: number, b: string) : any;
declare var tinymce : any;
declare var Prototype : any;
declare var angularGlobals : any; declare var angularGlobals : any;
@Component({ @Component({
templateUrl : angularGlobals["save-numeric-packageView"], templateUrl : "../../../../Views/save-numeric-package.component.html",
styleUrls : ['../../node_modules/bootstrap/dist/css/bootstrap.min.css', 'css/profile.component.css'] // styleUrls : ['../../node_modules/bootstrap/dist/css/bootstrap.min.css', 'css/profile.component.css']
}) })
export class SaveNumericPackageComponent implements OnInit { export class SaveNumericPackageComponent implements OnInit {
...@@ -51,13 +46,6 @@ export class SaveNumericPackageComponent implements OnInit { ...@@ -51,13 +46,6 @@ export class SaveNumericPackageComponent implements OnInit {
$j('#content h1')[0].remove(); $j('#content h1')[0].remove();
} }
if (Prototype.BrowserFeatures.ElementExtensions) {
//FIX PROTOTYPE CONFLICT
let pluginsToDisable = ['collapse', 'dropdown', 'modal', 'tooltip', 'popover','tab'];
disablePrototypeJS('show', pluginsToDisable);
disablePrototypeJS('hide', pluginsToDisable);
}
} }
updateBreadcrumb(applicationName: string) { updateBreadcrumb(applicationName: string) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment