diff --git a/apps/maarch_entreprise/js/angular/app/save-numeric-package.component.ts b/apps/maarch_entreprise/js/angular/app/save-numeric-package.component.ts index 70198afe552ed109fb2291535ee57f12bfc307c3..8c8f664fdf142bdaffd6bfe933b5709f19ddf9d2 100644 --- a/apps/maarch_entreprise/js/angular/app/save-numeric-package.component.ts +++ b/apps/maarch_entreprise/js/angular/app/save-numeric-package.component.ts @@ -3,18 +3,13 @@ import { Http } from '@angular/http'; import 'rxjs/add/operator/map'; 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; @Component({ - templateUrl : angularGlobals["save-numeric-packageView"], - styleUrls : ['../../node_modules/bootstrap/dist/css/bootstrap.min.css', 'css/profile.component.css'] + templateUrl : "../../../../Views/save-numeric-package.component.html", + // styleUrls : ['../../node_modules/bootstrap/dist/css/bootstrap.min.css', 'css/profile.component.css'] }) export class SaveNumericPackageComponent implements OnInit { @@ -51,13 +46,6 @@ export class SaveNumericPackageComponent implements OnInit { $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) {